]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavdevice/v4l2.c
V4L2 support for OpenBSD, patch by Brad, brad comstyle com
[frescor/ffmpeg.git] / libavdevice / v4l2.c
index 0150c804d41ab21f9639a9f02fcd3228650e8ea0..699a982ac2b0b5d31b9f4080bc91e2a765cb2376 100644 (file)
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 #include <sys/time.h>
+#ifdef HAVE_SYS_VIDEOIO_H
+#include <sys/videoio.h>
+#else
 #include <asm/types.h>
 #include <linux/videodev2.h>
+#endif
 #include <time.h>
 #include <strings.h>