aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-02-03 03:24:05 +0000
committerCy Schubert <cy@FreeBSD.org>2021-02-16 00:40:48 +0000
commit98cf94afab4dc1e259c6d12e417ce9f7bda2d447 (patch)
treeeefc103085727d2e16155883441ce8ce26e28fef
parent1d1120c6ce7a40c47caceb0cdb80dfc6022f259c (diff)
downloadsrc-98cf94afab4dc1e259c6d12e417ce9f7bda2d447.tar.gz
src-98cf94afab4dc1e259c6d12e417ce9f7bda2d447.zip
MFC 10990cb46027b4cc4339540b1217117863b2cd15:
Simplify FreeBSD check. (cherry picked from commit 10990cb46027b4cc4339540b1217117863b2cd15)
-rw-r--r--contrib/ipfilter/ipsend/sbpf.c2
1 files changed, 1 insertions, 1 deletions
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>