提交 0e58bf67 编写于 作者: D 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
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册