libavdevice: Fix v4l2 compilation under FreeBSD

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit ffa1f541b3)
This commit is contained in:
Tom Evans
2011-12-15 20:21:54 +00:00
committed by Carl Eugen Hoyos
parent 7614facf8a
commit f7c196a1f9
2 changed files with 4 additions and 0 deletions

2
configure vendored
View File

@@ -1137,6 +1137,7 @@ HAVE_LIST="
altivec_h
arpa_inet_h
asm_mod_y
asm_types_h
attribute_may_alias
attribute_packed
bswap
@@ -2996,6 +2997,7 @@ check_header termios.h
check_header vdpau/vdpau.h
check_header vdpau/vdpau_x11.h
check_header X11/extensions/XvMClib.h
check_header asm/types.h
disabled zlib || check_lib zlib.h zlibVersion -lz || disable zlib
disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib

View 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>