// 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>
+
+// FIXME: we don't need all these
+#include <java/lang/String.h>
+#include <org/xwt/Surface.h>
+#include <org/xwt/Picture.h>
+#include <org/xwt/Box.h>
+#include <org/xwt/util/Semaphore.h>
+#include <org/xwt/Platform.h>
+#include <java/lang/Long.h>
+#include <java/util/Hashtable.h>
+#include <org/xwt/util/Log.h>
+#include <org/xwt/plat/POSIX.h>
+#include <java/lang/System.h>
+#include <java/io/PrintStream.h>
jstring org::xwt::plat::POSIX::_getEnv(jstring key) {
int len = JvGetStringUTFLength(key);