[PATCH 1/5] mmdevapi: Avoid a couple of dependencies on ddraw.h.

Henri Verbeet hverbeet at codeweavers.com
Sun Nov 4 12:51:29 CST 2012


---
 dlls/mmdevapi/audiovolume.c |    2 +-
 dlls/mmdevapi/devenum.c     |    1 +
 dlls/mmdevapi/main.c        |    3 +--
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/mmdevapi/audiovolume.c b/dlls/mmdevapi/audiovolume.c
index 84377a5..4cc3226 100644
--- a/dlls/mmdevapi/audiovolume.c
+++ b/dlls/mmdevapi/audiovolume.c
@@ -32,7 +32,7 @@
 
 #include "ole2.h"
 #include "mmdeviceapi.h"
-#include "dshow.h"
+#include "mmsystem.h"
 #include "dsound.h"
 #include "audioclient.h"
 #include "endpointvolume.h"
diff --git a/dlls/mmdevapi/devenum.c b/dlls/mmdevapi/devenum.c
index 40c8c6f..d7c5a44 100644
--- a/dlls/mmdevapi/devenum.c
+++ b/dlls/mmdevapi/devenum.c
@@ -29,6 +29,7 @@
 #include "wine/debug.h"
 #include "wine/unicode.h"
 
+#include "initguid.h"
 #include "ole2.h"
 #include "mmdeviceapi.h"
 #include "dshow.h"
diff --git a/dlls/mmdevapi/main.c b/dlls/mmdevapi/main.c
index bd2e461..1518b02 100644
--- a/dlls/mmdevapi/main.c
+++ b/dlls/mmdevapi/main.c
@@ -32,10 +32,9 @@
 #include "olectl.h"
 #include "rpcproxy.h"
 #include "propsys.h"
-#include "initguid.h"
 #include "propkeydef.h"
 #include "mmdeviceapi.h"
-#include "dshow.h"
+#include "mmsystem.h"
 #include "dsound.h"
 #include "audioclient.h"
 #include "endpointvolume.h"
-- 
1.7.8.6




More information about the wine-patches mailing list