svn commit: r186436 - head/sys/contrib/ipfilter/netinet
Bjoern A. Zeeb
bz at FreeBSD.org
Tue Dec 23 16:49:07 UTC 2008
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.
*/
More information about the svn-src-all
mailing list