diff options
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 8bbcb18..7a4020a 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -341,6 +341,9 @@ if test ${host} = ${target} ; then AC_MSG_CHECKING(for member som_addr in struct so_map) AC_CACHE_VAL(gdb_cv_have_struct_so_map_with_som_members, [AC_TRY_COMPILE([#include <sys/types.h> +#ifdef HAVE_NLIST_H +#include <nlist.h> +#endif #include <link.h>], [struct so_map lm; (void) lm.som_addr;], gdb_cv_have_struct_so_map_with_som_members=yes, |