// 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 <signal.h>
-#include <java/lang/String.h>
-
-// FIXME: we don't need all these
#include <java/lang/String.h>
#include <org/ibex/Surface.h>
#include <org/ibex/Picture.h>
#include <java/lang/System.h>
#include <java/io/PrintStream.h>
+#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 <signal.h>
+
jstring org::ibex::plat::POSIX::_getEnv(jstring key) {
int len = JvGetStringUTFLength(key);
char buf[len + 1];