aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRenĂ© Korthaus <[email protected]>2017-08-04 23:08:54 +0200
committerRenĂ© Korthaus <[email protected]>2017-08-04 23:08:54 +0200
commit6fac41f7438b69112014d1070a1fd5d7f2e5c055 (patch)
tree78c15b6155e3bd7a3920ae54693f064a96ef5f49 /src
parent07918423d8e4b1a24cbdd5e89d919a1f1944a225 (diff)
Fix for amalgamation build on Windows
Diffstat (limited to 'src')
-rw-r--r--src/lib/entropy/cryptoapi_rng/es_capi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/entropy/cryptoapi_rng/es_capi.cpp b/src/lib/entropy/cryptoapi_rng/es_capi.cpp
index 4695d90ed..3d744245e 100644
--- a/src/lib/entropy/cryptoapi_rng/es_capi.cpp
+++ b/src/lib/entropy/cryptoapi_rng/es_capi.cpp
@@ -8,6 +8,7 @@
#include <botan/internal/es_capi.h>
#include <botan/parsing.h>
#define NOMINMAX 1
+#define _WINSOCKAPI_ // stop windows.h including winsock.h
#include <windows.h>
#include <wincrypt.h>