aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-06-28 12:48:41 -0700
committerChris Robinson <[email protected]>2020-06-28 12:55:55 -0700
commitf81558c948e8dbc044176443c2455f6e2f3b5e08 (patch)
tree0da21d22244aefc40abb1ca5e02389272f6f84de /alc/alc.cpp
parent31791c9997d06a3a315d2b936515f643430cd5e9 (diff)
Avoid including windows.h in threads.h
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r--alc/alc.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp
index e84b26e5..30d363af 100644
--- a/alc/alc.cpp
+++ b/alc/alc.cpp
@@ -22,6 +22,11 @@
#include "version.h"
+#ifdef _WIN32
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+#endif
+
#include <exception>
#include <algorithm>
#include <array>