diff options
Diffstat (limited to 'include/utils')
-rw-r--r-- | include/utils/FileMap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/utils/FileMap.h b/include/utils/FileMap.h index dfe6d51..02cb7df 100644 --- a/include/utils/FileMap.h +++ b/include/utils/FileMap.h @@ -25,6 +25,10 @@ #include <utils/Compat.h> #ifdef HAVE_WIN32_FILEMAP +// Ensure that we always pull in winsock2.h before windows.h +#ifdef HAVE_WINSOCK +#include <winsock2.h> +#endif #include <windows.h> #endif |