summaryrefslogtreecommitdiff
path: root/include/config-win.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/config-win.h')
-rw-r--r--include/config-win.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/config-win.h b/include/config-win.h
index d8ae471266f..6735ae1aba1 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -27,7 +27,7 @@ functions */
#endif
#include <sys/locking.h>
-#include <windows.h>
+#include <winsock2.h>
#include <math.h> /* Because of rint() */
#include <fcntl.h>
#include <io.h>
@@ -350,6 +350,7 @@ inline double ulonglong2double(ulonglong value)
#define HAVE_SETFILEPOINTER
#define HAVE_VIO_READ_BUFF
#define HAVE_STRNLEN
+#define HAVE_WINSOCK2
#define strcasecmp stricmp
#define strncasecmp strnicmp