diff options
Diffstat (limited to 'sys/dev/hwpmc/hwpmc_x86.c')
-rw-r--r-- | sys/dev/hwpmc/hwpmc_x86.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/hwpmc/hwpmc_x86.c b/sys/dev/hwpmc/hwpmc_x86.c index 5c1194e..f571e41 100644 --- a/sys/dev/hwpmc/hwpmc_x86.c +++ b/sys/dev/hwpmc/hwpmc_x86.c @@ -40,7 +40,11 @@ __FBSDID("$FreeBSD$"); #include <machine/cpu.h> #include <machine/cputypes.h> #include <machine/intr_machdep.h> +#if (__FreeBSD_version >= 1100000) #include <x86/apicvar.h> +#else +#include <machine/apicvar.h> +#endif #include <machine/pmc_mdep.h> #include <machine/md_var.h> |