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/1af2b6b0d80e
branches: trunk
changeset: 354426:1af2b6b0d80e
user: kamil <kamil%NetBSD.org@localhost>
date: Thu Jun 15 23:55:42 2017 +0000
description:
Don't include <sys/user.h> on NetBSD in IPF (lsock)
This header in this context is freebsdism.
diffstat:
external/bsd/ipf/dist/ipsend/lsock.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r e37fa594c7d5 -r 1af2b6b0d80e external/bsd/ipf/dist/ipsend/lsock.c
--- a/external/bsd/ipf/dist/ipsend/lsock.c Thu Jun 15 23:53:56 2017 +0000
+++ b/external/bsd/ipf/dist/ipsend/lsock.c Thu Jun 15 23:55:42 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lsock.c,v 1.2 2012/07/22 14:27:36 darrenr Exp $ */
+/* $NetBSD: lsock.c,v 1.3 2017/06/15 23:55:42 kamil Exp $ */
/*
* lsock.c (C) 1995-1998 Darren Reed
@@ -39,7 +39,9 @@
#include <linux/sched.h>
#include <linux/netdevice.h>
#include <nlist.h>
+#if defined(__FreeBSD__)
#include <sys/user.h>
+#endif
#include <sys/socket.h>
#include <math.h>
#include <netinet/in.h>
Home |
Main Index |
Thread Index |
Old Index