summaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/alcThread.c2
-rw-r--r--Alc/dsound.c1
-rw-r--r--Alc/winmm.c1
3 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alcThread.c b/Alc/alcThread.c
index 6e7237af..7db1c5dc 100644
--- a/Alc/alcThread.c
+++ b/Alc/alcThread.c
@@ -28,8 +28,6 @@
#ifdef _WIN32
-#include <windows.h>
-
typedef struct {
ALuint (*func)(ALvoid*);
ALvoid *ptr;
diff --git a/Alc/dsound.c b/Alc/dsound.c
index fa0af41c..6b5f70d6 100644
--- a/Alc/dsound.c
+++ b/Alc/dsound.c
@@ -20,6 +20,7 @@
#include "config.h"
+#define _WIN32_WINNT 0x0500
#define INITGUID
#include <stdlib.h>
#include <stdio.h>
diff --git a/Alc/winmm.c b/Alc/winmm.c
index 4963597c..0261e373 100644
--- a/Alc/winmm.c
+++ b/Alc/winmm.c
@@ -20,6 +20,7 @@
#include "config.h"
+#define _WIN32_WINNT 0x0500
#include <stdlib.h>
#include <stdio.h>
#include <memory.h>