From 39812cebba4d4eb7cb6a9b3c3491e254227016c5 Mon Sep 17 00:00:00 2001 From: "J.T. Conklin" Date: Fri, 22 Jun 2001 16:01:31 +0000 Subject: [PATCH] * configure.in: include nlist.h when checking for member som_addr in struct so_map. * configure: regenerate. --- gdb/ChangeLog | 6 ++++++ gdb/configure | 3 +++ gdb/configure.in | 3 +++ 3 files changed, 12 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ffc8a1c5c50..d6c4f5f0b53 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2001-06-22 J.T. Conklin + + * configure.in: include nlist.h when checking for member som_addr + in struct so_map. + * configure: regenerate. + 2001-06-21 Keith Seitz * cli-out.c (cli_out_new): Initialize new structure member diff --git a/gdb/configure b/gdb/configure index 16e6a379da0..cee0573322a 100755 --- a/gdb/configure +++ b/gdb/configure @@ -5404,6 +5404,9 @@ else #line 5405 "configure" #include "confdefs.h" #include +#ifdef HAVE_NLIST_H +#include +#endif #include int main() { struct so_map lm; (void) lm.som_addr; diff --git a/gdb/configure.in b/gdb/configure.in index 8bbcb18d8da..7a4020ab1be 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 +#ifdef HAVE_NLIST_H +#include +#endif #include ], [struct so_map lm; (void) lm.som_addr;], gdb_cv_have_struct_so_map_with_som_members=yes, -- 2.30.2