Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2000 08:10:42 -0700
From:      Peter Wemm <peter@netplex.com.au>
To:        "Akinori -Aki- MUSHA" <knu@idaemons.org>
Cc:        darrenr@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/netinet fil.c ip_auth.c ip_compat.h ip_ftp_pxy.c ip_log.c ip_nat.c ip_nat.h ip_raudio_pxy.c ip_rcmd_pxy.c ipl.h mlfk_ipl.c 
Message-ID:  <20000525151042.E27231CE1@overcee.netplex.com.au>
In-Reply-To: Message from "Akinori -Aki- MUSHA" <knu@idaemons.org>  of "Thu, 25 May 2000 23:47:32 %2B0900." <86k8giy9dn.wl@localhost.local.idaemons.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Akinori -Aki- MUSHA" wrote:
> At Tue, 23 May 2000 21:40:18 -0700 (PDT),
> Darren Reed <darrenr@FreeBSD.org> wrote:
> >   1.14      +14 -13    src/sys/netinet/ip_log.c
> 
> Part of this commit should be backed out.  
> 
> --- src/sys/netinet/ip_log.c.orig	Thu May 25 17:55:43 2000
> +++ src/sys/netinet/ip_log.c	Thu May 25 23:39:33 2000
> @@ -17,11 +17,12 @@
>  #endif
>  #ifdef  __FreeBSD__
>  # if defined(_KERNEL) && !defined(IPFILTER_LKM)
> +#  if !defined(__FreeBSD_version)
> +#   include <sys/osreldate.h>
> +#  endif
>  #  if defined(__FreeBSD_version) && (__FreeBSD_version >= 300000)
>  #   include "opt_ipfilter.h"
>  #  endif
> -# else
> -#  include <osreldate.h>
>  # endif
>  #endif
>  #ifdef	IPFILTER_LOG
> 
> You can't get __FreeBSD_version before including <osreldate.h>.

Actually, osreldate.h should be killed entirely.  It's defined
in <sys/param.h> now:
#define __FreeBSD_version 400016        /* Master, propagated to newvers */

#include <osreldate.h> cannot and never will work.

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000525151042.E27231CE1>