Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/ipf/dist/ipsend Don't include <sys/user.h> on N...
details: https://anonhg.NetBSD.org/src/rev/f41a2153682f
branches: trunk
changeset: 354423:f41a2153682f
user: kamil <kamil%NetBSD.org@localhost>
date: Thu Jun 15 23:50:20 2017 +0000
description:
Don't include <sys/user.h> on NetBSD in IPF
This header in this context is freebsdism.
diffstat:
external/bsd/ipf/dist/ipsend/sock.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r b44777edc670 -r f41a2153682f external/bsd/ipf/dist/ipsend/sock.c
--- a/external/bsd/ipf/dist/ipsend/sock.c Thu Jun 15 23:46:30 2017 +0000
+++ b/external/bsd/ipf/dist/ipsend/sock.c Thu Jun 15 23:50:20 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sock.c,v 1.3 2012/07/22 14:27:36 darrenr Exp $ */
+/* $NetBSD: sock.c,v 1.4 2017/06/15 23:50:20 kamil Exp $ */
/*
* sock.c (C) 1995-1998 Darren Reed
@@ -47,7 +47,9 @@
# undef KERNEL
#endif
#include <nlist.h>
+#if defined(__FreeBSD__)
#include <sys/user.h>
+#endif
#include <sys/socket.h>
#include <sys/socketvar.h>
#include <sys/proc.h>
Home |
Main Index |
Thread Index |
Old Index