summaryrefslogtreecommitdiffstats
path: root/sys/i386/acpica
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-10-16 17:20:43 +0000
committerjhb <jhb@FreeBSD.org>2002-10-16 17:20:43 +0000
commit8e1742136bd2e5f479a441cb985b56f1b65c2c65 (patch)
treed1e810c1be4488940859bd013b4f11687978ff97 /sys/i386/acpica
parentedece5adc2723b23d13db92fa280b23ba0bf0a55 (diff)
downloadFreeBSD-src-8e1742136bd2e5f479a441cb985b56f1b65c2c65.zip
FreeBSD-src-8e1742136bd2e5f479a441cb985b56f1b65c2c65.tar.gz
Include <sys/select.h> on -stable instead of <sys/selinfo.h> to get the
definition of struct selinfo. Sponsored by: The Weather Channel
Diffstat (limited to 'sys/i386/acpica')
-rw-r--r--sys/i386/acpica/acpi_machdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/i386/acpica/acpi_machdep.c b/sys/i386/acpica/acpi_machdep.c
index dc03e98..324cc9d 100644
--- a/sys/i386/acpica/acpi_machdep.c
+++ b/sys/i386/acpica/acpi_machdep.c
@@ -43,7 +43,11 @@ static device_t acpi_dev;
* APM driver emulation
*/
+#if __FreeBSD_version < 500000
+#include <sys/select.h>
+#else
#include <sys/selinfo.h>
+#endif
#include <machine/apm_bios.h>
#include <machine/pc/bios.h>
OpenPOWER on IntegriCloud