summaryrefslogtreecommitdiffstats
path: root/sys/contrib/ipfilter/netinet
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-12-23 16:49:07 +0000
committerbz <bz@FreeBSD.org>2008-12-23 16:49:07 +0000
commit29f34ef6c145b920975550fea5f69016c8130cc9 (patch)
tree9bee8f817668b3f0c7dba355ceb2809e12d201e3 /sys/contrib/ipfilter/netinet
parent97219f9ae7d90448803d71e8d02da8592c22d4c8 (diff)
downloadFreeBSD-src-29f34ef6c145b920975550fea5f69016c8130cc9.zip
FreeBSD-src-29f34ef6c145b920975550fea5f69016c8130cc9.tar.gz
Check for ipprotosw.h more precisely.
It hasn't been needed for more than 5 years, since r120386. MFC after: 4 weeks
Diffstat (limited to 'sys/contrib/ipfilter/netinet')
-rw-r--r--sys/contrib/ipfilter/netinet/ip_fil_freebsd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c b/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
index 3bef15c..55107e2 100644
--- a/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
+++ b/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
@@ -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.
*/
OpenPOWER on IntegriCloud