diff options
Diffstat (limited to 'sys/dev/hwpmc/hwpmc_uncore.c')
-rw-r--r-- | sys/dev/hwpmc/hwpmc_uncore.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/hwpmc/hwpmc_uncore.c b/sys/dev/hwpmc/hwpmc_uncore.c index b931fcc..2895f2c 100644 --- a/sys/dev/hwpmc/hwpmc_uncore.c +++ b/sys/dev/hwpmc/hwpmc_uncore.c @@ -38,7 +38,11 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <machine/intr_machdep.h> +#if (__FreeBSD_version >= 1100000) +#include <x86/apicvar.h> +#else #include <machine/apicvar.h> +#endif #include <machine/cpu.h> #include <machine/cpufunc.h> #include <machine/specialreg.h> |