summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/atomic/generic-msvc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/atomic/generic-msvc.h b/include/atomic/generic-msvc.h
index 77319aaa93c..4a50dc4a667 100644
--- a/include/atomic/generic-msvc.h
+++ b/include/atomic/generic-msvc.h
@@ -23,6 +23,7 @@
*/
#undef MY_ATOMIC_HAS_8_16
+#include <windows.h>
/*
x86 compilers (both VS2003 or VS2005) never use instrinsics, but generate
function calls to kernel32 instead, even in the optimized build.