diff options
author | Matthew Oliver <protogonoi@gmail.com> | 2014-11-27 19:00:36 +1100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-27 12:40:18 +0100 |
commit | 0167fa00604443aa20a2fb627081a46f1c0be4ff (patch) | |
tree | 5221bb560aaa19c26441c9d03a73b16541100d40 /libavdevice/dshow_capture.h | |
parent | 22e557917d08ed93e9c657f13c9669482341eb02 (diff) | |
download | ffmpeg-0167fa00604443aa20a2fb627081a46f1c0be4ff.tar.gz |
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.h | 1 |
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> |