summaryrefslogtreecommitdiffstats
path: root/sys/contrib/altq/altq/altq_subr.c
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2004-06-13 22:52:38 +0000
committermlaier <mlaier@FreeBSD.org>2004-06-13 22:52:38 +0000
commit8b6bc5b3c0352d042a5213ee273b120a30f9444b (patch)
tree6a62b4394134ea21bef1744b581f9ec3e0000f58 /sys/contrib/altq/altq/altq_subr.c
parentd49f147c3f337c27d40d40e625f0b8895b9c6c0f (diff)
downloadFreeBSD-src-8b6bc5b3c0352d042a5213ee273b120a30f9444b.zip
FreeBSD-src-8b6bc5b3c0352d042a5213ee273b120a30f9444b.tar.gz
#if out an old leftover in the KAME code. opt_cpu.h is no longer useful here
and breaks build on some arch. Found-by: tinderbox
Diffstat (limited to 'sys/contrib/altq/altq/altq_subr.c')
-rw-r--r--sys/contrib/altq/altq/altq_subr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/contrib/altq/altq/altq_subr.c b/sys/contrib/altq/altq/altq_subr.c
index 13af544..435f7ab 100644
--- a/sys/contrib/altq/altq/altq_subr.c
+++ b/sys/contrib/altq/altq/altq_subr.c
@@ -71,7 +71,9 @@
/* machine dependent clock related includes */
#ifdef __FreeBSD__
+#if __FreeBSD__ < 3
#include "opt_cpu.h" /* for FreeBSD-2.2.8 to get i586_ctr_freq */
+#endif
#include <machine/clock.h>
#endif
#if defined(__i386__)
OpenPOWER on IntegriCloud