diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h index 86e86868db20..d3f0a0da328e 100644 --- a/sys/arch/i386/include/cpu.h +++ b/sys/arch/i386/include/cpu.h @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.h,v 1.105 2003/10/09 13:46:43 yamt Exp $ */ +/* $NetBSD: cpu.h,v 1.106 2003/10/10 06:27:15 lukem Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -54,7 +54,11 @@ #include /* will also get LOCKDEBUG */ #include +#ifdef _KERNEL #include /* offsetof */ +#else +#include /* offsetof */ +#endif struct intrsource;