diff options
author | jhb <jhb@FreeBSD.org> | 2002-10-16 17:27:40 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-10-16 17:27:40 +0000 |
commit | a307d114081c6667904ee03c3fb7c2bc079ee3ce (patch) | |
tree | eba1d599af082d6861eb6316169da2ac4a4a323c /sys/dev | |
parent | c4f2612994783f95c8040f8eb87886b2c57a83aa (diff) | |
download | FreeBSD-src-a307d114081c6667904ee03c3fb7c2bc079ee3ce.zip FreeBSD-src-a307d114081c6667904ee03c3fb7c2bc079ee3ce.tar.gz |
struct timecounter is defined in sys/time.h on 4-stable.
Sponsored by: The Weather Channel
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/acpica/acpi_timer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi_timer.c b/sys/dev/acpica/acpi_timer.c index 62300fe..a5a0dd6 100644 --- a/sys/dev/acpica/acpi_timer.c +++ b/sys/dev/acpica/acpi_timer.c @@ -31,7 +31,11 @@ #include <sys/bus.h> #include <sys/kernel.h> #include <sys/sysctl.h> +#if __FreeBSD_version >= 500000 #include <sys/timetc.h> +#else +#include <sys/time.h> +#endif #include <machine/bus_pio.h> #include <machine/bus.h> |