summaryrefslogtreecommitdiffstats
path: root/sys/pccard/slot.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-07-28 03:47:10 +0000
committerimp <imp@FreeBSD.org>2001-07-28 03:47:10 +0000
commitb1482550b774655371d5149ca0e1882f4606f95e (patch)
treef1de30c2d8bf64f4615d56ebbc67ddf349d5a4d2 /sys/pccard/slot.h
parent51a109affb36ffc4bc05f66cb259f14b0c48bd1b (diff)
downloadFreeBSD-src-b1482550b774655371d5149ca0e1882f4606f95e.zip
FreeBSD-src-b1482550b774655371d5149ca0e1882f4606f95e.tar.gz
To reduce diffs with -stable, ifdef selinfo.h or select.h include
Diffstat (limited to 'sys/pccard/slot.h')
-rw-r--r--sys/pccard/slot.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/pccard/slot.h b/sys/pccard/slot.h
index 779fdbc..7d44390 100644
--- a/sys/pccard/slot.h
+++ b/sys/pccard/slot.h
@@ -42,12 +42,16 @@
* Normally we shouldn't include stuff here, but we're trying to be
* compatible with the long, dark hand of the past.
*/
+#include <sys/param.h>
#include <sys/bus.h>
#include <machine/bus.h>
#include <sys/rman.h>
#include <machine/resource.h>
-
+#if __FreeBSD_version >= 500000
#include <sys/selinfo.h>
+#else
+#include <sys/select.h>
+#endif
/*
* Controller data - Specific to each slot controller.
OpenPOWER on IntegriCloud