From ac5754fafac59348ed3215c93557264e21a49e0f Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Mon, 9 Aug 2004 21:10:20 +0000 Subject: [PATCH] * bsd-kvm.c: Check for nlist.h before including it. --- gdb/ChangeLog | 4 ++++ gdb/bsd-kvm.c | 2 ++ 2 files changed, 6 insertions(+) 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 -- 2.30.2