summaryrefslogtreecommitdiffstats
path: root/loader/ext.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-01 10:31:51 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-01 10:31:51 +0000
commitc03c4b5431a8bb3cb19d00ac290567d1e7e02ad3 (patch)
tree3ece2499fcc942a9a0a9bfb4b9efcec2ee37bd70 /loader/ext.c
parent7a5924159cbc7c2c749ee3ba5499e3c46aef3240 (diff)
downloadmpv-c03c4b5431a8bb3cb19d00ac290567d1e7e02ad3.tar.bz2
mpv-c03c4b5431a8bb3cb19d00ac290567d1e7e02ad3.tar.xz
Wrap '#include <sys/mman.h>' in HAVE_SYS_MMAN_H.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26137 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/ext.c')
-rw-r--r--loader/ext.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/loader/ext.c b/loader/ext.c
index 4ef4580bdc..4984861590 100644
--- a/loader/ext.c
+++ b/loader/ext.c
@@ -18,7 +18,9 @@
#include <malloc.h>
#endif
#include <unistd.h>
+#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
+#endif
#include <errno.h>
#include <fcntl.h>
#include <string.h>