Commit ee3ef862 by Anthony Green Committed by Anthony Green

fix include problem

From-SVN: r46459
parent 0a3abdb2
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.
......
......@@ -12,11 +12,12 @@ details. */
#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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment