[kaffe] CVS kaffe (dalibor): Fix for missing includes for mprotect
Kaffe CVS
cvs-commits at kaffe.org
Sun Jun 27 09:41:53 PDT 2004
PatchSet 4875
Date: 2004/06/27 16:35:09
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Fix for missing includes for mprotect
2004-06-27 Dalibor Topic <robilad at kaffe.org>
* kaffe/kaffevm/mem/gc-mem.c:
Added includes for mprotect on NetBSD 1.5.x.
Reported by: Kiyo Inaba <inaba at src.ricoh.co.jp>
Members:
ChangeLog:1.2441->1.2442
kaffe/kaffevm/mem/gc-mem.c:1.58->1.59
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2441 kaffe/ChangeLog:1.2442
--- kaffe/ChangeLog:1.2441 Sun Jun 27 15:25:23 2004
+++ kaffe/ChangeLog Sun Jun 27 16:35:09 2004
@@ -1,3 +1,10 @@
+2004-06-27 Dalibor Topic <robilad at kaffe.org>
+
+ * kaffe/kaffevm/mem/gc-mem.c:
+ Added includes for mprotect on NetBSD 1.5.x.
+
+ Reported by: Kiyo Inaba <inaba at src.ricoh.co.jp>
+
2004-06-27 Jim Huang <jserv at kaffe.org>
* test/internal/Makefile.am:
Index: kaffe/kaffe/kaffevm/mem/gc-mem.c
diff -u kaffe/kaffe/kaffevm/mem/gc-mem.c:1.58 kaffe/kaffe/kaffevm/mem/gc-mem.c:1.59
--- kaffe/kaffe/kaffevm/mem/gc-mem.c:1.58 Sun May 30 10:35:22 2004
+++ kaffe/kaffe/kaffevm/mem/gc-mem.c Sun Jun 27 16:35:10 2004
@@ -24,8 +24,14 @@
#include "gc.h"
#include "gc-mem.h"
#include "jni.h"
-#ifdef HAVE_UNISTD_H
+#if defined(HAVE_UNISTD_H)
#include <unistd.h>
+#endif
+#if defined(HAVE_SYS_TYPES_H)
+#include <sys/types.h>
+#endif
+#if defined(HAVE_SYS_MMAN_H)
+#include <sys/mman.h>
#endif
#ifndef MAX
More information about the kaffe
mailing list