This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Fix build on recent versions of OpenBSD.
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sourceware dot org
- Date: Mon, 3 Feb 2014 14:41:24 +0100 (CET)
- Subject: [PATCH] Fix build on recent versions of OpenBSD.
- Authentication-results: sourceware.org; auth=none
gdb/ChangeLog:
* bsd-kvm.c: Include <sys/param.h>
---
gdb/ChangeLog | 4 ++++
gdb/bsd-kvm.c | 1 +
2 files changed, 5 insertions(+)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0bfa3ff..a0e3530 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2014-02-03 Mark Kettenis <kettenis@gnu.org>
+ * bsd-kvm.c: Include <sys/param.h>
+
+2014-02-03 Mark Kettenis <kettenis@gnu.org>
+
* sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2014-01-31 Joel Brobecker <brobecker@adacore.com>
diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c
index 20d6a1c..cfa8867 100644
--- a/gdb/bsd-kvm.c
+++ b/gdb/bsd-kvm.c
@@ -35,6 +35,7 @@
#endif
#include <paths.h>
#include "readline/readline.h"
+#include <sys/param.h>
#include <sys/proc.h>
#include <sys/user.h>
--
1.8.5.3