aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-10-04 11:20:01 -0700
committerChris Robinson <[email protected]>2016-10-04 11:20:01 -0700
commita0e4696f5578fa42ec0ac7ac47141bf41fb727ff (patch)
tree2565862af3e8277f34797280ae95e81abc228152 /Alc
parent1e4d9cfa7ef33ac600926246078afafae0bcf0ac (diff)
Include wtypes.h for defining Windows' property keys
Diffstat (limited to 'Alc')
-rw-r--r--Alc/backends/mmdevapi.c1
-rw-r--r--Alc/helpers.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/Alc/backends/mmdevapi.c b/Alc/backends/mmdevapi.c
index 7cad93a9..3882b08f 100644
--- a/Alc/backends/mmdevapi.c
+++ b/Alc/backends/mmdevapi.c
@@ -25,6 +25,7 @@
#include <stdio.h>
#include <memory.h>
+#include <wtypes.h>
#include <mmdeviceapi.h>
#include <audioclient.h>
#include <cguid.h>
diff --git a/Alc/helpers.c b/Alc/helpers.c
index d4b44ced..0a6982e9 100644
--- a/Alc/helpers.c
+++ b/Alc/helpers.c
@@ -62,6 +62,7 @@ DEFINE_GUID(IID_IAudioRenderClient, 0xf294acfc, 0x3146, 0x4483, 0xa7,0xbf, 0xa
DEFINE_GUID(IID_IAudioCaptureClient, 0xc8adbd64, 0xe71e, 0x48a0, 0xa4,0xde, 0x18,0x5c,0x39,0x5c,0xd3,0x17);
#ifdef HAVE_MMDEVAPI
+#include <wtypes.h>
#include <devpropdef.h>
#include <propkeydef.h>
DEFINE_DEVPROPKEY(DEVPKEY_Device_FriendlyName, 0xa45c254e, 0xdf1c, 0x4efd, 0x80,0x20, 0x67,0xd1,0x46,0xa8,0x50,0xe0, 14);