From: Mark Kettenis Date: Mon, 9 Aug 2004 21:10:20 +0000 (+0000) Subject: * bsd-kvm.c: Check for nlist.h before including it. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac5754fafac59348ed3215c93557264e21a49e0f;p=binutils-gdb.git * bsd-kvm.c: Check for nlist.h before including it. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6bd04abd3c5..07b8ab41071 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2004-08-07 Robert Millan + + * bsd-kvm.c: Check for nlist.h before including it. + 2004-08-09 Mark Kettenis * i386bsd-nat.c (_initialize_i386bsd_nat): Remove `struct diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c index 083bc92c297..64869e5464c 100644 --- a/gdb/bsd-kvm.c +++ b/gdb/bsd-kvm.c @@ -31,7 +31,9 @@ #include "gdb_assert.h" #include #include +#ifdef HAVE_NLIST_H #include +#endif #include "readline/readline.h" #include #include