aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-24 01:05:43 +0000
committerGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-24 01:05:43 +0000
commit6c20953570f40fba66256d89b2cba9a82030e55c (patch)
treedaf5807d20d72e0bd776fe5f4c29bd82f49b7600
parentf9940fc77ed75e0b3d684a2ead154cb98c54c9d9 (diff)
check for mman.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5299 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--linux/shmem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/shmem.c b/linux/shmem.c
index 69b2414197..6cb1eab0d3 100644
--- a/linux/shmem.c
+++ b/linux/shmem.c
@@ -16,7 +16,9 @@
#include <sys/types.h>
#include <sys/time.h>
#include <sys/uio.h>
+#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
+#endif
#include <sys/socket.h>
#include <fcntl.h>