summaryrefslogtreecommitdiffstats
path: root/sys/dev/stg
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/stg')
-rw-r--r--sys/dev/stg/tmc18c30_isa.c1
-rw-r--r--sys/dev/stg/tmc18c30_pccard.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/stg/tmc18c30_isa.c b/sys/dev/stg/tmc18c30_isa.c
index 67fb6b6..6fe5523 100644
--- a/sys/dev/stg/tmc18c30_isa.c
+++ b/sys/dev/stg/tmc18c30_isa.c
@@ -77,7 +77,6 @@
#include <sys/kernel.h>
#include <sys/module.h>
-#include <sys/select.h>
static int stgprobe(device_t devi);
static int stgattach(device_t devi);
diff --git a/sys/dev/stg/tmc18c30_pccard.c b/sys/dev/stg/tmc18c30_pccard.c
index 574fbb2..e6ceb6f 100644
--- a/sys/dev/stg/tmc18c30_pccard.c
+++ b/sys/dev/stg/tmc18c30_pccard.c
@@ -88,7 +88,9 @@ extern struct stg_softc *stgdata[];
#if NCARD > 0
#include <sys/kernel.h>
#include <sys/module.h>
+#if !defined(__FreeBSD__) || __FreeBSD_version < 500014
#include <sys/select.h>
+#endif
#include <pccard/cardinfo.h>
#include <pccard/slot.h>
OpenPOWER on IntegriCloud