2003/04/20 06:29:51
[org.ibex.core.git] / src / org / xwt / plat / POSIX.cc
index a34d202..9155c80 100644 (file)
@@ -1,11 +1,14 @@
 // Copyright 2002 Adam Megacz, see the COPYING file for licensing [LGPL]
 // see below for copyright information on the second portion of this file
 
+#include "GCJ.cc"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <sys/ipc.h>
+#include <sys/shm.h>
 #include <sys/types.h>
-#include <gcj/cni.h>
 #include <signal.h>
 #include <java/lang/String.h>
 
@@ -23,8 +26,6 @@
 #include <java/lang/System.h>
 #include <java/io/PrintStream.h>
 
-#include "GCJ.cc"
-
 jstring org::xwt::plat::POSIX::_getEnv(jstring key) {
     int len = JvGetStringUTFLength(key);
     char buf[len + 1];