summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 01e824baab..d5717d6683 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -24,6 +24,9 @@
#include <windows.h>
#include <winbase.h>
#include <wincon.h>
+#ifdef __MINGW32__
+#include <mswsock.h>
+#endif
#include "win32.h"
#include "win32/dir.h"
#ifndef index