summaryrefslogtreecommitdiffstats
path: root/loader/module.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/module.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/module.c')
-rw-r--r--loader/module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/loader/module.c b/loader/module.c
index 9c43248217..e316cf0f37 100644
--- a/loader/module.c
+++ b/loader/module.c
@@ -26,7 +26,9 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
+#endif
#include <inttypes.h>
#include "wine/windef.h"