Browse Source

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

Diego Biurrun 17 years ago
parent
commit
0e58bf670d
4 changed files with 0 additions and 8 deletions
  1. 0 2
      libavdevice/bktr.c
  2. 0 2
      libavdevice/dv1394.c
  3. 0 2
      libavdevice/v4l.c
  4. 0 2
      libavdevice/v4l2.c

+ 0 - 2
libavdevice/bktr.c

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

+ 0 - 2
libavdevice/dv1394.c

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

+ 0 - 2
libavdevice/v4l.c

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

+ 0 - 2
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>