diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-08-09 21:10:20 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-08-09 21:10:20 +0000 |
commit | ac5754fafac59348ed3215c93557264e21a49e0f (patch) | |
tree | 2702d48138c31aa96a2ea8fa7e9c90919a5c566f /gdb | |
parent | bbe06c740e70ea5a08cc8f9d25e30400dd9e2419 (diff) | |
download | gdb-ac5754fafac59348ed3215c93557264e21a49e0f.zip gdb-ac5754fafac59348ed3215c93557264e21a49e0f.tar.gz gdb-ac5754fafac59348ed3215c93557264e21a49e0f.tar.bz2 |
* bsd-kvm.c: Check for nlist.h before including it.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/bsd-kvm.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6bd04ab..07b8ab4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2004-08-07 Robert Millan <robertmh@gnu.org> + + * bsd-kvm.c: Check for nlist.h before including it. + 2004-08-09 Mark Kettenis <kettenis@gnu.org> * i386bsd-nat.c (_initialize_i386bsd_nat): Remove `struct diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c index 083bc92..64869e5 100644 --- a/gdb/bsd-kvm.c +++ b/gdb/bsd-kvm.c @@ -31,7 +31,9 @@ #include "gdb_assert.h" #include <fcntl.h> #include <kvm.h> +#ifdef HAVE_NLIST_H #include <nlist.h> +#endif #include "readline/readline.h" #include <sys/param.h> #include <sys/proc.h> |