diff options
Diffstat (limited to 'ext/socket/socket.c')
-rw-r--r-- | ext/socket/socket.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c index 4f8cf07218..0d675bc66b 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -69,7 +69,9 @@ #ifndef EWOULDBLOCK #define EWOULDBLOCK EAGAIN #endif +#ifndef HAVE_GETADDRINFO #include "addrinfo.h" +#endif #include "sockport.h" #if defined(__vms) |