aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/alcConfig.c7
-rw-r--r--Alc/dsound.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/Alc/alcConfig.c b/Alc/alcConfig.c
index 6b959709..aa6ed21e 100644
--- a/Alc/alcConfig.c
+++ b/Alc/alcConfig.c
@@ -18,6 +18,10 @@
* Or go to http://www.gnu.org/copyleft/lgpl.html
*/
+#ifdef _WIN32
+#define _WIN32_IE 0x400
+#endif
+
#include "config.h"
#include <stdlib.h>
@@ -27,8 +31,7 @@
#include "alMain.h"
-#ifdef _WIN32
-#define _WIN32_IE 0x400
+#ifdef _WIN32_IE
#include <shlobj.h>
#endif
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"