diff options
Diffstat (limited to 'ext/socket/addrinfo.h')
-rw-r--r-- | ext/socket/addrinfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/socket/addrinfo.h b/ext/socket/addrinfo.h index 5beea2cec6..a22615ee00 100644 --- a/ext/socket/addrinfo.h +++ b/ext/socket/addrinfo.h @@ -115,8 +115,10 @@ /* * Constants for getnameinfo() */ +#ifndef NI_MAXHOST #define NI_MAXHOST 1025 #define NI_MAXSERV 32 +#endif /* * Flag values for getnameinfo() |