#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);