Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Feb 2021 02:40:17 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 10990cb46027 - main - Simplify FreeBSD check.
Message-ID:  <202102060240.1162eHYJ012657@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=10990cb46027b4cc4339540b1217117863b2cd15

commit 10990cb46027b4cc4339540b1217117863b2cd15
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-02-03 03:24:05 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2021-02-06 02:39:38 +0000

    Simplify FreeBSD check.
    
    MFC after:      1 week
---
 contrib/ipfilter/ipsend/sbpf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/ipfilter/ipsend/sbpf.c b/contrib/ipfilter/ipsend/sbpf.c
index 97559650f3b4..9b4f20c3fea9 100644
--- a/contrib/ipfilter/ipsend/sbpf.c
+++ b/contrib/ipfilter/ipsend/sbpf.c
@@ -12,7 +12,7 @@
 #include <sys/socket.h>
 #include <sys/file.h>
 #include <sys/ioctl.h>
-#if (__FreeBSD_version >= 300000)
+#ifdef __FreeBSD_version
 # include <sys/dirent.h>
 #else
 # include <sys/dir.h>



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