git: 98cf94afab4d - stable/12 - MFC 10990cb46027b4cc4339540b1217117863b2cd15:

Cy Schubert cy at FreeBSD.org
Tue Feb 16 00:46:41 UTC 2021


The branch stable/12 has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=98cf94afab4dc1e259c6d12e417ce9f7bda2d447

commit 98cf94afab4dc1e259c6d12e417ce9f7bda2d447
Author:     Cy Schubert <cy at FreeBSD.org>
AuthorDate: 2021-02-03 03:24:05 +0000
Commit:     Cy Schubert <cy at FreeBSD.org>
CommitDate: 2021-02-16 00:40:48 +0000

    MFC 10990cb46027b4cc4339540b1217117863b2cd15:
    
    Simplify FreeBSD check.
    
    (cherry picked from commit 10990cb46027b4cc4339540b1217117863b2cd15)
---
 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>


More information about the dev-commits-src-branches mailing list