aboutsummaryrefslogtreecommitdiff
path: root/gdb/bsd-kvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/bsd-kvm.c')
-rw-r--r--gdb/bsd-kvm.c2
1 files changed, 2 insertions, 0 deletions
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>