summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/socketaddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/socketaddr.c')
-rw-r--r--otherlibs/unix/socketaddr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/otherlibs/unix/socketaddr.c b/otherlibs/unix/socketaddr.c
index 6660390e8..c62538b21 100644
--- a/otherlibs/unix/socketaddr.c
+++ b/otherlibs/unix/socketaddr.c
@@ -22,6 +22,10 @@
#include "socketaddr.h"
+#ifdef _WIN32
+#define EAFNOSUPPORT WSAEAFNOSUPPORT
+#endif
+
value alloc_inet_addr(a)
unsigned int a;
{