qcap: Fix compilation on older systems.

Dmitry Timoshkov dmitry at baikal.ru
Mon Jan 14 22:47:00 CST 2013


---
 dlls/qcap/v4l.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/qcap/v4l.c b/dlls/qcap/v4l.c
index f5baaeb..2562c48 100644
--- a/dlls/qcap/v4l.c
+++ b/dlls/qcap/v4l.c
@@ -47,7 +47,8 @@
 #endif
 #ifdef HAVE_LIBV4L1_H
 #include <libv4l1.h>
-#elif defined(HAVE_LINUX_VIDEODEV_H)
+#endif
+#ifdef HAVE_LINUX_VIDEODEV_H
 #include <linux/videodev.h>
 #endif
 #ifdef HAVE_UNISTD_H
-- 
1.8.0.2




More information about the wine-patches mailing list