aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/v4l2.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-03-24 10:54:01 +0000
committerDiego Biurrun <diego@biurrun.de>2008-03-24 10:54:01 +0000
commit0e58bf670dd3f690d809e74b11c5db8201fbf15e (patch)
tree6c46f6707ec3469911619a1982f86ea730547705 /libavdevice/v4l2.c
parent362b3bf757ba2f836a9ab6c0c7ff79164b3e0c10 (diff)
downloadffmpeg-0e58bf670dd3f690d809e74b11c5db8201fbf15e.tar.gz
Remove #ifdef HAVE_SYS_MMAN_H around sys/mman.h #include.
Without the #include compilation fails. Originally committed as revision 12568 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice/v4l2.c')
-rw-r--r--libavdevice/v4l2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index ab5e6857cb..565fa5253f 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
@@ -32,9 +32,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
-#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
-#endif
#include <sys/time.h>
#include <asm/types.h>
#include <linux/videodev2.h>