Date: Tue, 23 Dec 2008 16:49:07 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r186436 - head/sys/contrib/ipfilter/netinet Message-ID: <200812231649.mBNGn7nO007591@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Tue Dec 23 16:49:07 2008 New Revision: 186436 URL: http://svn.freebsd.org/changeset/base/186436 Log: Check for ipprotosw.h more precisely. It hasn't been needed for more than 5 years, since r120386. MFC after: 4 weeks Modified: head/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c Modified: head/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c ============================================================================== --- head/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c Tue Dec 23 16:19:59 2008 (r186435) +++ head/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c Tue Dec 23 16:49:07 2008 (r186436) @@ -156,7 +156,9 @@ struct selinfo ipfselwait[IPL_LOGSIZE]; # include <sys/conf.h> # if defined(NETBSD_PF) # include <net/pfil.h> -# include <netinet/ipprotosw.h> +# if (__FreeBSD_version < 501108) +# include <netinet/ipprotosw.h> +# endif /* * We provide the fr_checkp name just to minimize changes later. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812231649.mBNGn7nO007591>