aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-02-03 03:24:05 +0000
committerCy Schubert <cy@FreeBSD.org>2021-02-06 02:39:38 +0000
commit10990cb46027b4cc4339540b1217117863b2cd15 (patch)
tree1356cfaec87e5012ea94baf50d297d901d0807ca /contrib
parente673debe7db8ba95e4ee3b549d2570e71d19b596 (diff)
downloadsrc-10990cb46027b4cc4339540b1217117863b2cd15.tar.gz
src-10990cb46027b4cc4339540b1217117863b2cd15.zip
Simplify FreeBSD check.
MFC after: 1 week
Diffstat (limited to 'contrib')
-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>