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/19c6b8286b34
branches:  trunk
changeset: 824726:19c6b8286b34
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 4d4275f153d7 -r 19c6b8286b34 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