msvc: Fix compilation errors due to header include order.
[ffmpeg.git] / libavdevice / dshow_capture.h
index e4b4dce..0252070 100644 (file)
@@ -27,6 +27,7 @@
 #include "avdevice.h"
 
 #define COBJMACROS
+#define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 #define NO_DSHOW_STRSAFE
 #include <dshow.h>