Module Name: src
Committed By: kamil
Date: Thu Jun 15 23:46:30 UTC 2017
Modified Files:
src/external/gpl3/gdb/dist/gdb: bsd-kvm.c
Log Message:
Don't include <sys/user.h> on NetBSD in GDB
This header in this context is freebsdism.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gdb/dist/gdb/bsd-kvm.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gdb/dist/gdb/bsd-kvm.c
diff -u src/external/gpl3/gdb/dist/gdb/bsd-kvm.c:1.9 src/external/gpl3/gdb/dist/gdb/bsd-kvm.c:1.10
--- src/external/gpl3/gdb/dist/gdb/bsd-kvm.c:1.9 Wed Oct 12 20:20:33 2016
+++ src/external/gpl3/gdb/dist/gdb/bsd-kvm.c Thu Jun 15 23:46:30 2017
@@ -37,7 +37,9 @@
#include "readline/readline.h"
#include <sys/param.h>
#include <sys/proc.h>
+#if defined(__FreeBSD__)
#include <sys/user.h>
+#endif
#include "bsd-kvm.h"