Commit 0e58bf67 authored by Diego Biurrun's avatar Diego Biurrun

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
parent 362b3bf7
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
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