aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/wasapi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/wasapi.cpp')
-rw-r--r--Alc/backends/wasapi.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/backends/wasapi.cpp b/Alc/backends/wasapi.cpp
index db4b5e4e..384aaba8 100644
--- a/Alc/backends/wasapi.cpp
+++ b/Alc/backends/wasapi.cpp
@@ -22,6 +22,9 @@
#include "backends/wasapi.h"
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+
#include <stdlib.h>
#include <stdio.h>
#include <memory.h>
@@ -56,6 +59,7 @@
#include "ringbuffer.h"
#include "compat.h"
#include "converter.h"
+#include "threads.h"
/* Some headers seem to define these as macros for __uuidof, which is annoying