aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends')
-rw-r--r--Alc/backends/null.c3
-rw-r--r--Alc/backends/wave.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/Alc/backends/null.c b/Alc/backends/null.c
index 0b58310a..93b38063 100644
--- a/Alc/backends/null.c
+++ b/Alc/backends/null.c
@@ -21,6 +21,9 @@
#include "config.h"
#include <stdlib.h>
+#ifdef HAVE_WINDOWS_H
+#include <windows.h>
+#endif
#include "alMain.h"
#include "alu.h"
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"