Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet Make usr.sbin/ipf/ipftest compiles again.



details:   https://anonhg.NetBSD.org/src/rev/fa0fe00da8c6
branches:  trunk
changeset: 536105:fa0fe00da8c6
user:      enami <enami%NetBSD.org@localhost>
date:      Sat Sep 07 00:10:24 2002 +0000

description:
Make usr.sbin/ipf/ipftest compiles again.

diffstat:

 sys/netinet/ip_fil.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r b020e24e35e1 -r fa0fe00da8c6 sys/netinet/ip_fil.c
--- a/sys/netinet/ip_fil.c      Fri Sep 06 23:58:11 2002 +0000
+++ b/sys/netinet/ip_fil.c      Sat Sep 07 00:10:24 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_fil.c,v 1.83 2002/09/06 14:00:00 gehenna Exp $      */
+/*     $NetBSD: ip_fil.c,v 1.84 2002/09/07 00:10:24 enami Exp $        */
 
 /*
  * Copyright (C) 1993-2001 by Darren Reed.
@@ -123,7 +123,7 @@
 #if !defined(lint)
 #if defined(__NetBSD__)
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_fil.c,v 1.83 2002/09/06 14:00:00 gehenna Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_fil.c,v 1.84 2002/09/07 00:10:24 enami Exp $");
 #else
 static const char sccsid[] = "@(#)ip_fil.c     2.41 6/5/96 (C) 1993-2000 Darren Reed";
 static const char rcsid[] = "@(#)Id: ip_fil.c,v 2.42.2.55 2002/03/26 15:54:39 darrenr Exp";
@@ -198,7 +198,8 @@
 toid_t ipfr_slowtimer_ch;
 #endif
 
-#if defined(__NetBSD__) && (__NetBSD_Version__ >= 106080000)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 106080000) && \
+    defined(_KERNEL)
 #include <sys/conf.h>
 const struct cdevsw ipl_cdevsw = {
        iplopen, iplclose, iplread, nowrite, iplioctl,



Home | Main Index | Thread Index | Old Index