aboutsummaryrefslogtreecommitdiff
path: root/syshead.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--syshead.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/syshead.h b/syshead.h
index e87814e..358c0bc 100644
--- a/syshead.h
+++ b/syshead.h
@@ -54,6 +54,18 @@
#define sleep(x) Sleep((x)*1000)
#define random rand
#define srandom srand
+
+/* MinGW autoconf workaround */
+
+#undef HAVE_SETSOCKOPT
+#define HAVE_SETSOCKOPT 1
+
+#undef HAVE_GETSOCKOPT
+#define HAVE_GETSOCKOPT 1
+
+#undef HAVE_POLL
+#define HAVE_POLL 1
+
#endif
#ifdef HAVE_SYS_TYPES_H