Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Pryor <jpryor@novell.com>2005-12-28 06:25:10 +0300
committerJonathan Pryor <jpryor@novell.com>2005-12-28 06:25:10 +0300
commit7d03031260b4f422995ceb69b3e38e8e4de826d6 (patch)
tree32e8ded6f92e60c064b2b28fbecc288c26f336f6 /support
parent1a529e079b9742ec35351c6a7451999ff9d0c90e (diff)
* configure.in: Add check for <sys/mman.h>. Fixes #77091.
Thanks to Ben Gamari for the patch. * support/map.c: Include <sys/mman.h>. Fixes #77091. Thanks to Ben Gamari. svn path=/trunk/mono/; revision=54894
Diffstat (limited to 'support')
-rw-r--r--support/ChangeLog4
-rw-r--r--support/map.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/support/ChangeLog b/support/ChangeLog
index 05b052c7e74..e03d0c821b6 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,7 @@
+2005-12-27 Jonathan Pryor <jonpryor@vt.edu>
+
+ * map.c: Include <sys/mman.h>. Fixes #77091. Thanks to Ben Gamari.
+
2005-12-01 Jonathan Pryor <jonpryor@vt.edu>
* Makefile.am: Use $(CRYPT_LIB), not -lcrypt, as not all platforms
diff --git a/support/map.c b/support/map.c
index 3450f1e76ec..5c4298d36c5 100644
--- a/support/map.c
+++ b/support/map.c
@@ -27,6 +27,9 @@
#ifdef HAVE_SYS_XATTR_H
#include <sys/xattr.h>
#endif
+#ifdef HAVE_SYS_MMAN_H
+#include <sys/mman.h>
+#endif
#include <unistd.h>
#include <fcntl.h>
#include <signal.h>