Subject: Re: 19981210 -current build failed (usr.sbin/ipf/ipf)
To: None <current-users@netbsd.org>
From: Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
List: current-users
Date: 12/11/1998 09:14:11
> ip_fil.h should include opt_ipfilter_log.h only _KERNEL is defined only.
> I don't test yet, but may be right...
Oh! it contains typo. And I've checked compile.
--
Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
*** /sys/netinet/ip_fil.h.orig Fri Dec 11 09:06:46 1998
--- /sys/netinet/ip_fil.h Fri Dec 11 09:08:14 1998
***************
*** 14,26 ****
#ifndef _NETINET_IP_FIL_H_
#define _NETINET_IP_FIL_H_
- #if defined(__NetBSD__)
- # if defined(PFIL_HOOKS)
- # include "opt_pfil_hooks.h"
- # endif
- # include "opt_ipfilter_log.h"
- #endif
-
/*
* Pathnames for various IP Filter control devices. Used by LKM
* and userland, so defined here.
--- 14,19 ----
***************
*** 35,40 ****
--- 28,40 ----
#if defined(KERNEL) && !defined(_KERNEL)
#define _KERNEL
+ #endif
+
+ #if defined _KERNEL && defined(__NetBSD__)
+ # if defined(PFIL_HOOKS)
+ # include "opt_pfil_hooks.h"
+ # endif
+ # include "opt_ipfilter_log.h"
#endif
#ifndef __P