Commit ffa1f541 authored by Tom Evans's avatar Tom Evans Committed by Michael Niedermayer

libavdevice: Fix v4l2 compilation under FreeBSD

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7f9369b7
...@@ -1138,6 +1138,7 @@ HAVE_LIST=" ...@@ -1138,6 +1138,7 @@ HAVE_LIST="
altivec_h altivec_h
arpa_inet_h arpa_inet_h
asm_mod_y asm_mod_y
asm_types_h
attribute_may_alias attribute_may_alias
attribute_packed attribute_packed
cbrtf cbrtf
...@@ -2995,6 +2996,7 @@ check_header termios.h ...@@ -2995,6 +2996,7 @@ check_header termios.h
check_header vdpau/vdpau.h check_header vdpau/vdpau.h
check_header vdpau/vdpau_x11.h check_header vdpau/vdpau_x11.h
check_header X11/extensions/XvMClib.h check_header X11/extensions/XvMClib.h
check_header asm/types.h
disabled zlib || check_lib zlib.h zlibVersion -lz || disable zlib disabled zlib || check_lib zlib.h zlibVersion -lz || disable zlib
disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib
......
...@@ -41,7 +41,9 @@ ...@@ -41,7 +41,9 @@
#if HAVE_SYS_VIDEOIO_H #if HAVE_SYS_VIDEOIO_H
#include <sys/videoio.h> #include <sys/videoio.h>
#else #else
#if HAVE_ASM_TYPES_H
#include <asm/types.h> #include <asm/types.h>
#endif
#include <linux/videodev2.h> #include <linux/videodev2.h>
#endif #endif
#include <time.h> #include <time.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment