summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uscanner.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/uscanner.c')
-rw-r--r--sys/dev/usb/uscanner.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/usb/uscanner.c b/sys/dev/usb/uscanner.c
index b89152f..18b7aeb 100644
--- a/sys/dev/usb/uscanner.c
+++ b/sys/dev/usb/uscanner.c
@@ -55,7 +55,11 @@
#endif
#include <sys/tty.h>
#include <sys/file.h>
+#if __FreeBSD_version >= 500014
+#include <sys/selinfo.h>
+#else
#include <sys/select.h>
+#endif
#include <sys/proc.h>
#include <sys/vnode.h>
#include <sys/poll.h>
OpenPOWER on IntegriCloud