aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/cubeb_wasapi.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cubeb_wasapi.cpp b/src/cubeb_wasapi.cpp
index 2cad230..a5f4759 100644
--- a/src/cubeb_wasapi.cpp
+++ b/src/cubeb_wasapi.cpp
@@ -21,10 +21,13 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
-#include <timeapi.h>
#include <vector>
#include <windef.h>
#include <windows.h>
+/* clang-format off */
+/* These need to be included after windows.h */
+#include <mmsystem.h>
+/* clang-format on */
#include "cubeb-internal.h"
#include "cubeb/cubeb.h"