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
This commit is contained in:
Diego Biurrun 2008-03-24 10:54:01 +00:00
parent 362b3bf757
commit 0e58bf670d
4 changed files with 0 additions and 8 deletions

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

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

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

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