aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-pa64.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib-pa64.c')
-rw-r--r--gdb/solib-pa64.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/solib-pa64.c b/gdb/solib-pa64.c
index 0f20a54..f18c992 100644
--- a/gdb/solib-pa64.c
+++ b/gdb/solib-pa64.c
@@ -31,9 +31,6 @@
same functionality in all their libraries! */
#include "defs.h"
-#include <dlfcn.h>
-#include <elf.h>
-#include <elf_hp.h>
#include "symtab.h"
#include "bfd.h"
#include "symfile.h"
@@ -51,6 +48,11 @@
/* If we are building for a SOM-only target, then we don't need this. */
#ifndef PA_SOM_ONLY
+/* FIXME: kettenis/20041213: These includes should be eliminated. */
+#include <dlfcn.h>
+#include <elf.h>
+#include <elf_hp.h>
+
struct lm_info {
struct load_module_desc desc;
CORE_ADDR desc_addr;