Module Name: src
Committed By: kamil
Date: Thu Jun 15 23:53:56 UTC 2017
Modified Files:
src/external/bsd/ipf/dist/ipsend: iptests.c
Log Message:
Don't include <sys/user.h> on NetBSD in IPF (iptests)
This header in this context is freebsdism.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/ipf/dist/ipsend/iptests.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/bsd/ipf/dist/ipsend/iptests.c
diff -u src/external/bsd/ipf/dist/ipsend/iptests.c:1.3 src/external/bsd/ipf/dist/ipsend/iptests.c:1.4
--- src/external/bsd/ipf/dist/ipsend/iptests.c:1.3 Sun Jul 22 14:27:36 2012
+++ src/external/bsd/ipf/dist/ipsend/iptests.c Thu Jun 15 23:53:56 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: iptests.c,v 1.3 2012/07/22 14:27:36 darrenr Exp $ */
+/* $NetBSD: iptests.c,v 1.4 2017/06/15 23:53:56 kamil Exp $ */
/*
* Copyright (C) 2012 by Darren Reed.
@@ -41,7 +41,9 @@ typedef int boolean_t;
#endif
#if !defined(solaris) && !defined(linux) && !defined(__sgi)
# include <nlist.h>
+#if defined(__FreeBSD__)
# include <sys/user.h>
+#endif
# include <sys/proc.h>
#endif
#if !defined(ultrix) && !defined(hpux) && !defined(linux) && \