aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/dyn_load/dyn_load.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils/dyn_load/dyn_load.cpp')
-rw-r--r--src/lib/utils/dyn_load/dyn_load.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/utils/dyn_load/dyn_load.cpp b/src/lib/utils/dyn_load/dyn_load.cpp
index 1f33dc761..2b24e5f6c 100644
--- a/src/lib/utils/dyn_load/dyn_load.cpp
+++ b/src/lib/utils/dyn_load/dyn_load.cpp
@@ -13,6 +13,7 @@
#include <dlfcn.h>
#elif defined(BOTAN_TARGET_OS_HAS_LOADLIBRARY)
#define NOMINMAX 1
+ #define _WINSOCKAPI_ // stop windows.h including winsock.h
#include <windows.h>
#endif