aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/lang/natClassLoader.cc
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2006-04-25 11:54:15 +0000
committerAndrew Haley <aph@gcc.gnu.org>2006-04-25 11:54:15 +0000
commit523375356265744a9a04c0f7850690b12d1726a3 (patch)
tree66906c798bbc44ebda04e72f94dc0449df47af44 /libjava/java/lang/natClassLoader.cc
parent75d8b2d0146828137667471dd99e713bc3608342 (diff)
downloadgcc-523375356265744a9a04c0f7850690b12d1726a3.zip
gcc-523375356265744a9a04c0f7850690b12d1726a3.tar.gz
gcc-523375356265744a9a04c0f7850690b12d1726a3.tar.bz2
natClassLoader.cc: Don't include link.h or dladdr.h.
2006-04-25 Andrew Haley <aph@redhat.com> * java/lang/natClassLoader.cc: Don't include link.h or dladdr.h. * boehm.cc: Don't include link.h. (_Jv_RegisterLibForGc): Cast away const when calling dladdr(). From-SVN: r113246
Diffstat (limited to 'libjava/java/lang/natClassLoader.cc')
-rw-r--r--libjava/java/lang/natClassLoader.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/libjava/java/lang/natClassLoader.cc b/libjava/java/lang/natClassLoader.cc
index e6cfca2..87419c3 100644
--- a/libjava/java/lang/natClassLoader.cc
+++ b/libjava/java/lang/natClassLoader.cc
@@ -45,11 +45,6 @@ details. */
#include <gnu/gcj/runtime/BootClassLoader.h>
#include <gnu/gcj/runtime/SystemClassLoader.h>
-#undef _GNU_SOURCE
-#define _GNU_SOURCE
-#include <dlfcn.h>
-#include <link.h>
-
// Size of local hash table.
#define HASH_LEN 1013