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/e37fa594c7d5
branches:  trunk
changeset: 354425:e37fa594c7d5
user:      kamil <kamil%NetBSD.org@localhost>
date:      Thu Jun 15 23:53:56 2017 +0000

description:
Don't include <sys/user.h> on NetBSD in IPF (iptests)

This header in this context is freebsdism.

diffstat:

 external/bsd/ipf/dist/ipsend/iptests.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r a8a62f5248cf -r e37fa594c7d5 external/bsd/ipf/dist/ipsend/iptests.c
--- a/external/bsd/ipf/dist/ipsend/iptests.c    Thu Jun 15 23:52:15 2017 +0000
+++ b/external/bsd/ipf/dist/ipsend/iptests.c    Thu Jun 15 23:53:56 2017 +0000
@@ -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 @@
 #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) && \



Home | Main Index | Thread Index | Old Index