aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-10-16 17:27:40 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-10-16 17:27:40 +0000
commit3a65df0084658d92c9753f43fab067809157d05d (patch)
treeeba1d599af082d6861eb6316169da2ac4a4a323c /sys/dev
parent0b1d1f1afb0ea02ff4c378bd352ede1da977c474 (diff)
downloadsrc-3a65df0084658d92c9753f43fab067809157d05d.tar.gz
src-3a65df0084658d92c9753f43fab067809157d05d.zip
struct timecounter is defined in sys/time.h on 4-stable.
Sponsored by: The Weather Channel
Notes
Notes: svn path=/head/; revision=105281
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpica/acpi_timer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi_timer.c b/sys/dev/acpica/acpi_timer.c
index 62300fe16bcf..a5a0dd6cd360 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>