aboutsummaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorTom Evans2011-12-15 20:21:54 +0000
committerMichael Niedermayer2011-12-15 21:48:03 +0100
commitffa1f541b350946591ea80e134917b28a860fcad (patch)
tree36ce33cc38ceb716c2ece66877e5ff53c0825fc8 /libavdevice
parent7f9369b743449d2aa346557d4b6ad0655ec5d56b (diff)
libavdevice: Fix v4l2 compilation under FreeBSD
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/v4l2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index dc54c4a205..15356fe980 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
@@ -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>