diff options
author | jhb <jhb@FreeBSD.org> | 2002-10-16 17:20:43 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-10-16 17:20:43 +0000 |
commit | 8e1742136bd2e5f479a441cb985b56f1b65c2c65 (patch) | |
tree | d1e810c1be4488940859bd013b4f11687978ff97 /sys/amd64/acpica | |
parent | edece5adc2723b23d13db92fa280b23ba0bf0a55 (diff) | |
download | FreeBSD-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/amd64/acpica')
-rw-r--r-- | sys/amd64/acpica/acpi_machdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/amd64/acpica/acpi_machdep.c b/sys/amd64/acpica/acpi_machdep.c index dc03e98..324cc9d 100644 --- a/sys/amd64/acpica/acpi_machdep.c +++ b/sys/amd64/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> |