libavdevice: Fix v4l2 compilation under FreeBSD
[ffmpeg.git] / libavdevice / v4l2.c
index dc54c4a..15356fe 100644 (file)
@@ -41,7 +41,9 @@
 #if HAVE_SYS_VIDEOIO_H
 #include <sys/videoio.h>
 #else
+#if HAVE_ASM_TYPES_H
 #include <asm/types.h>
+#endif
 #include <linux/videodev2.h>
 #endif
 #include <time.h>