summaryrefslogtreecommitdiffstats
path: root/sys/i4b/layer4
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2001-01-20 02:24:07 +0000
committerwollman <wollman@FreeBSD.org>2001-01-20 02:24:07 +0000
commit0fbfe85a3cf3589f4e05372bfa862cefce00e2aa (patch)
treee659ad1bed142e07d22975dff2999f17c7b71294 /sys/i4b/layer4
parenta11e21597d3b3fd5943eab7683f1b2f629e945d6 (diff)
downloadFreeBSD-src-0fbfe85a3cf3589f4e05372bfa862cefce00e2aa.zip
FreeBSD-src-0fbfe85a3cf3589f4e05372bfa862cefce00e2aa.tar.gz
Finish deprecating <sys/select.h> in favor of <sys/selinfo.h> in kernel code.
Diffstat (limited to 'sys/i4b/layer4')
-rw-r--r--sys/i4b/layer4/i4b_i4bdrv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/i4b/layer4/i4b_i4bdrv.c b/sys/i4b/layer4/i4b_i4bdrv.c
index 3aef6cb..156260e 100644
--- a/sys/i4b/layer4/i4b_i4bdrv.c
+++ b/sys/i4b/layer4/i4b_i4bdrv.c
@@ -58,7 +58,11 @@
#include <sys/conf.h>
#include <sys/mbuf.h>
#include <sys/socket.h>
+#if __FreeBSD_version >= 500014
+#include <sys/selinfo.h>
+#else
#include <sys/select.h>
+#endif
#include <net/if.h>
#ifdef __NetBSD__
OpenPOWER on IntegriCloud