aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/bktr.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-03-20 19:07:24 +0000
committerDiego Biurrun <diego@biurrun.de>2008-03-20 19:07:24 +0000
commitb00675499c6d9327aa7ec6f9f8d9d7758d1d3080 (patch)
tree72b534dde79c61356acd1cd09c22fcc705a4fe5a /libavdevice/bktr.c
parent721da10aeb929964a21890aae0b36b2fe07b1bd2 (diff)
downloadffmpeg-b00675499c6d9327aa7ec6f9f8d9d7758d1d3080.tar.gz
Only #include sys/mman.h if configure set HAVE_SYS_MMAN_H.
Originally committed as revision 12521 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice/bktr.c')
-rw-r--r--libavdevice/bktr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c
index 0ea8dfb02c..7259f5b623 100644
--- a/libavdevice/bktr.c
+++ b/libavdevice/bktr.c
@@ -39,7 +39,9 @@
#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>