OSDN Git Service

Remove #ifdef HAVE_SYS_MMAN_H around sys/mman.h #include.
authorDiego Biurrun <diego@biurrun.de>
Mon, 24 Mar 2008 10:54:01 +0000 (10:54 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 24 Mar 2008 10:54:01 +0000 (10:54 +0000)
Without the #include compilation fails.

Originally committed as revision 12568 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavdevice/bktr.c
libavdevice/dv1394.c
libavdevice/v4l.c
libavdevice/v4l2.c

index 7259f5b..0ea8dfb 100644 (file)
@@ -39,9 +39,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 <signal.h>
 
index 85836f1..fdf8428 100644 (file)
@@ -24,9 +24,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <sys/ioctl.h>
-#ifdef HAVE_SYS_MMAN_H
 #include <sys/mman.h>
-#endif
 #include <sys/poll.h>
 #include <sys/time.h>
 #include <time.h>
index 75ee6a3..cc31c27 100644 (file)
@@ -25,9 +25,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>
 #define _LINUX_TIME_H 1
 #include <linux/videodev.h>
index ab5e685..565fa52 100644 (file)
@@ -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>