Date: Mon, 3 Jun 2019 04:35:28 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r348522 - stable/12/sys/contrib/ipfilter/netinet Message-ID: <201906030435.x534ZS0s027724@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Mon Jun 3 04:35:28 2019 New Revision: 348522 URL: https://svnweb.freebsd.org/changeset/base/348522 Log: MFC r348310: Remove compile-time tests for unsupported versions of FreeBSD. Modified: stable/12/sys/contrib/ipfilter/netinet/ip_rules.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/contrib/ipfilter/netinet/ip_rules.c ============================================================================== --- stable/12/sys/contrib/ipfilter/netinet/ip_rules.c Sun Jun 2 23:38:19 2019 (r348521) +++ stable/12/sys/contrib/ipfilter/netinet/ip_rules.c Mon Jun 3 04:35:28 2019 (r348522) @@ -30,9 +30,9 @@ #if !defined(__SVR4) && !defined(__svr4__) && !defined(__hpux) # include <sys/mbuf.h> #endif -#if defined(__FreeBSD__) && (__FreeBSD_version > 220000) +#if defined(__FreeBSD__) # include <sys/sockio.h> -#if defined(__FreeBSD_version) && (__FreeBSD_version >= 800000) && defined(_KERNEL) +#if defined(_KERNEL) #include <net/vnet.h> #else #define CURVNET_SET(arg)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906030435.x534ZS0s027724>