From f8a289a9a13527f37032e3cb9b395ac7f9e6ffb5 Mon Sep 17 00:00:00 2001 From: darrenr Date: Thu, 25 May 2000 16:24:46 +0000 Subject: fix up #ifdef jungle for FreeBSD --- contrib/ipfilter/ip_log.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'contrib/ipfilter') diff --git a/contrib/ipfilter/ip_log.c b/contrib/ipfilter/ip_log.c index ef1af7f..7d6f0b1 100644 --- a/contrib/ipfilter/ip_log.c +++ b/contrib/ipfilter/ip_log.c @@ -5,7 +5,8 @@ * provided that this notice is preserved and due credit is given * to the original author and the contributors. * - * $Id: ip_log.c,v 2.5 2000/03/13 22:10:21 darrenr Exp $ + * $Id: ip_log.c,v 2.1.2.2 1999/09/21 11:55:44 darrenr Exp $ + * $FreeBSD$ */ #include #if defined(KERNEL) && !defined(_KERNEL) @@ -15,15 +16,20 @@ # include "opt_ipfilter_log.h" #endif #ifdef __FreeBSD__ -# if defined(_KERNEL) && !defined(IPFILTER_LKM) -# if defined(__FreeBSD_version) && (__FreeBSD_version >= 300000) -# include "opt_ipfilter.h" +# if defined(IPFILTER_LKM) || defined(_KERNEL) +# if !defined(__FreeBSD_version) +# include +# endif +# if !defined(IPFILTER_LKM) +# if defined(__FreeBSD_version) && (__FreeBSD_version >= 300000) +# include "opt_ipfilter.h" +# endif # endif # else # include # endif #endif -#ifdef IPFILTER_LOG +#ifdef IPFILTER_LOG # ifndef SOLARIS # define SOLARIS (defined(sun) && (defined(__svr4__) || defined(__SVR4))) # endif -- cgit v1.1