summaryrefslogtreecommitdiff
path: root/libavdevice/dshow_capture.h
diff options
context:
space:
mode:
authorMatthew Oliver <protogonoi@gmail.com>2014-11-27 19:00:36 +1100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-27 12:40:18 +0100
commit0167fa00604443aa20a2fb627081a46f1c0be4ff (patch)
tree5221bb560aaa19c26441c9d03a73b16541100d40 /libavdevice/dshow_capture.h
parent22e557917d08ed93e9c657f13c9669482341eb02 (diff)
msvc: Fix compilation errors due to header include order.
Ensures that the header include order is such that winsock2.h is always included before windows.h or that windows.h does not include winsock.h. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice/dshow_capture.h')
-rw-r--r--libavdevice/dshow_capture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/dshow_capture.h b/libavdevice/dshow_capture.h
index e4b4dce3fa..0252070284 100644
--- a/libavdevice/dshow_capture.h
+++ b/libavdevice/dshow_capture.h
@@ -27,6 +27,7 @@
#include "avdevice.h"
#define COBJMACROS
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#define NO_DSHOW_STRSAFE
#include <dshow.h>