changeset 5298:7bb8ded875db

check for mman.h
author arpi
date Sun, 24 Mar 2002 01:05:43 +0000
parents f297030ef5ab
children 16a3f1aa0070
files linux/shmem.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/linux/shmem.c	Sun Mar 24 00:58:27 2002 +0000
+++ b/linux/shmem.c	Sun Mar 24 01:05:43 2002 +0000
@@ -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>