summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/socket.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/socket.c b/src/socket.c
index 100562c..1518954 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -83,6 +83,10 @@ static int wsa_init = 0;
#define ETIMEDOUT 138
#endif
+#ifndef AI_NUMERICSERV
+#define AI_NUMERICSERV 0
+#endif
+
static int verbose = 0;
void socket_set_verbose(int level)