aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/firewire/fwohci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/firewire/fwohci.c')
-rw-r--r--sys/dev/firewire/fwohci.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/firewire/fwohci.c b/sys/dev/firewire/fwohci.c
index 4dfe5cf8b9f72..e02caeb696f9f 100644
--- a/sys/dev/firewire/fwohci.c
+++ b/sys/dev/firewire/fwohci.c
@@ -62,8 +62,10 @@
#include <machine/resource.h>
#include <sys/rman.h>
-#include <machine/cpufunc.h> /* for rdtsc proto for clock.h below */
-#include <machine/clock.h>
+#if __FreeBSD_version < 500000
+#include <machine/clock.h> /* for DELAY() */
+#endif
+
#include <pci/pcivar.h>
#include <pci/pcireg.h>