summaryrefslogtreecommitdiffstats
path: root/Alc/dsound.c
diff options
context:
space:
mode:
authorAlam Arias <[email protected]>2009-06-07 22:11:46 -0400
committerChris Robinson <[email protected]>2009-06-07 19:43:42 -0700
commit89e9437b8417701eb4b9ed28984687221712108c (patch)
tree96cdd2a2170afc9aef45847b38673beb70461221 /Alc/dsound.c
parent1454c46b5fed42dca9d509a66d4cefac2800289c (diff)
add check for _WAVEFORMATEXTENSIBLE_ and define _WIN32_IE before inlcuding any header
Diffstat (limited to 'Alc/dsound.c')
-rw-r--r--Alc/dsound.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/dsound.c b/Alc/dsound.c
index 11cce150..2329a4d7 100644
--- a/Alc/dsound.c
+++ b/Alc/dsound.c
@@ -28,6 +28,10 @@
#include <dsound.h>
#include <mmreg.h>
+#ifndef _WAVEFORMATEXTENSIBLE_
+#include <ks.h>
+#include <ksmedia.h>
+#endif
#include "alMain.h"
#include "AL/al.h"