aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alError.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alError.c')
-rw-r--r--OpenAL32/alError.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenAL32/alError.c b/OpenAL32/alError.c
index d18c1867..b557532e 100644
--- a/OpenAL32/alError.c
+++ b/OpenAL32/alError.c
@@ -22,6 +22,11 @@
#include <signal.h>
+#ifdef HAVE_WINDOWS_H
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+#endif
+
#include "alMain.h"
#include "AL/alc.h"
#include "alError.h"