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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-pa64.c b/gdb/solib-pa64.c
index 321441d..d5b718a 100644
--- a/gdb/solib-pa64.c
+++ b/gdb/solib-pa64.c
@@ -46,7 +46,7 @@
/* We can build this file only when running natively on 64-bit HP/UX.
We check for that by checking for the elf_hp.h header file. */
-#ifdef HAVE_ELF_HP_H
+#if defined(HAVE_ELF_HP_H) && defined(__LP64__)
/* FIXME: kettenis/20041213: These includes should be eliminated. */
#include <dlfcn.h>