// 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>
#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];