projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbe06c7
)
* bsd-kvm.c: Check for nlist.h before including it.
author
Mark Kettenis
<kettenis@gnu.org>
Mon, 9 Aug 2004 21:10:20 +0000
(21:10 +0000)
committer
Mark Kettenis
<kettenis@gnu.org>
Mon, 9 Aug 2004 21:10:20 +0000
(21:10 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/bsd-kvm.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 6bd04abd3c5678bbb6c88cf6362ae6b6f716fa1c..07b8ab410716de1104bb9481ef2f79bccd2dc994 100644
(file)
--- 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 083bc92c2977d8cca58cf5e54d356eba7989ddff..64869e5464c2284c20165aeb1df7d8108165936c 100644
(file)
--- 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>