summaryrefslogtreecommitdiff
path: root/libavdevice/vfwcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavdevice/vfwcap.c')
-rw-r--r--libavdevice/vfwcap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c
index 167c40bc85..10e6c69dcb 100644
--- a/libavdevice/vfwcap.c
+++ b/libavdevice/vfwcap.c
@@ -26,7 +26,10 @@
#include "libavformat/internal.h"
+// windows.h must no be included before winsock2.h, and libavformat internal
+// headers may include winsock2.h
#include <windows.h>
+// windows.h needs to be included before vfw.h
#include <vfw.h>
#include "avdevice.h"