aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/os_utils.cpp
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2017-10-03 17:22:43 +0200
committerSimon Warta <[email protected]>2017-10-03 17:22:43 +0200
commit9f11110307c021560fb920447c45103b8423a7ae (patch)
treeb6d8d6b6deeeb3ae6f4290d0b5a2645ee6eba164 /src/lib/utils/os_utils.cpp
parent1e4e9de9aa3b774b453ec05fa2199524e0e05fb6 (diff)
Add missing windows.h include in os_utils.cpp
Diffstat (limited to 'src/lib/utils/os_utils.cpp')
-rw-r--r--src/lib/utils/os_utils.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/utils/os_utils.cpp b/src/lib/utils/os_utils.cpp
index d56c54232..ebfd7fa88 100644
--- a/src/lib/utils/os_utils.cpp
+++ b/src/lib/utils/os_utils.cpp
@@ -24,6 +24,9 @@
#include <setjmp.h>
#include <unistd.h>
#include <errno.h>
+#elif defined(BOTAN_TARGET_OS_TYPE_IS_WINDOWS)
+ #define NOMINMAX 1
+ #include <windows.h>
#endif
namespace Botan {