aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/entropy
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-03 08:10:13 -0400
committerJack Lloyd <[email protected]>2017-09-03 08:10:13 -0400
commit20985b242640907de77ea45c7e0b679c3e7ed82e (patch)
treee4c7ac75806c6e8ef713bc783ee3c05cf8338216 /src/lib/entropy
parent27198fc299a2ea899d723b5fb3c3439e1157c3fb (diff)
Define macro so windows.h doesn't include winsock.h
Ugh Windows headers y u so nasty.
Diffstat (limited to 'src/lib/entropy')
-rw-r--r--src/lib/entropy/win32_stats/es_win32.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/entropy/win32_stats/es_win32.cpp b/src/lib/entropy/win32_stats/es_win32.cpp
index 520848615..0e7056550 100644
--- a/src/lib/entropy/win32_stats/es_win32.cpp
+++ b/src/lib/entropy/win32_stats/es_win32.cpp
@@ -6,7 +6,9 @@
*/
#include <botan/internal/es_win32.h>
+
#define NOMINMAX 1
+#define _WINSOCKAPI_ // stop windows.h including winsock.h
#include <windows.h>
#include <tlhelp32.h>