This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 1/1] Need _KMEMUSER for including sys/proc.h on netbsd
- From: coypu <coypu at sdf dot org>
- To: gdb-patches at sourceware dot org
- Date: Mon, 5 Jun 2017 12:11:01 +0000
- Subject: [PATCH 1/1] Need _KMEMUSER for including sys/proc.h on netbsd
- Authentication-results: sourceware.org; auth=none
---
gdb/bsd-kvm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c
index 98e24283..f872fc08 100644
--- a/gdb/bsd-kvm.c
+++ b/gdb/bsd-kvm.c
@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#define _KMEMUSER 1
#include "defs.h"
#include "cli/cli-cmds.h"
#include "command.h"
--
2.12.2