aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/wave.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-10-06 21:36:15 -0700
committerChris Robinson <[email protected]>2012-10-06 21:36:15 -0700
commit9501f1cb9eec4e042f1f6c918ceae5c832a9cd5a (patch)
tree871c3c1a71d69d252c02b1dbb9587191c13079a1 /Alc/backends/wave.c
parentd52cb3708bd3a05f19e4fecbe29ac6f301b2d0b2 (diff)
Define WIN32_LEAN_AND_MEAN when including windows.h in alMain.h
Diffstat (limited to 'Alc/backends/wave.c')
-rw-r--r--Alc/backends/wave.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/backends/wave.c b/Alc/backends/wave.c
index ecbfde66..38932819 100644
--- a/Alc/backends/wave.c
+++ b/Alc/backends/wave.c
@@ -23,6 +23,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <memory.h>
+#ifdef HAVE_WINDOWS_H
+#include <windows.h>
+#endif
#include "alMain.h"
#include "alu.h"