summaryrefslogtreecommitdiffstats
path: root/win32/common/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'win32/common/config.h.in')
-rw-r--r--win32/common/config.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/common/config.h.in b/win32/common/config.h.in
index 554197e5..21b60390 100644
--- a/win32/common/config.h.in
+++ b/win32/common/config.h.in
@@ -274,3 +274,8 @@
/* Define to 1 if the X Window System is missing or not being used. */
/* #undef X_DISPLAY_MISSING */
+
+/* Define socklen_t as it seems to be not defined in default VS setup */
+#ifndef socklen_t
+typedef int socklen_t;
+#endif \ No newline at end of file