Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/dist/gdb Don't include <sys/user.h> on Net...



details:   https://anonhg.NetBSD.org/src/rev/fb8b809802ab
branches:  trunk
changeset: 824723:fb8b809802ab
user:      kamil <kamil%NetBSD.org@localhost>
date:      Thu Jun 15 23:46:30 2017 +0000

description:
Don't include <sys/user.h> on NetBSD in GDB

This header in this context is freebsdism.

diffstat:

 external/gpl3/gdb/dist/gdb/bsd-kvm.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r eb1878a6d64d -r fb8b809802ab external/gpl3/gdb/dist/gdb/bsd-kvm.c
--- a/external/gpl3/gdb/dist/gdb/bsd-kvm.c      Thu Jun 15 23:44:58 2017 +0000
+++ b/external/gpl3/gdb/dist/gdb/bsd-kvm.c      Thu Jun 15 23:46:30 2017 +0000
@@ -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"
 



Home | Main Index | Thread Index | Old Index