+Tue Oct 23 23:52:18 2001 Anthony Green <green@redhat.com>
+
+ * gnu/gcj/runtime/natSharedLibLoader.cc: Only include dlfcn.h when
+ HAVE_DLOPEN.
+
2001-10-23 Tom Tromey <tromey@redhat.com>
* java/lang/reflect/Field.java (Field): New constructor.
#include <gcj/cni.h>
#include <gnu/gcj/runtime/SharedLibLoader.h>
-#include <dlfcn.h>
#include <java/io/IOException.h>
#include <java/lang/UnsupportedOperationException.h>
#ifdef HAVE_DLOPEN
+#include <dlfcn.h>
+
/* Only used during dlopen, while having a lock on Class.class. */
static gnu::gcj::runtime::SharedLibLoader* curLoader;