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/b44777edc670
branches: trunk
changeset: 354422:b44777edc670
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 69010b7100cc -r b44777edc670 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