This include fixes the implicit declaration of function. But I don't know if it is correct to include here stuff from i386at.
* kern/debug.c: Include i386at/model_dep.h. --- kern/debug.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kern/debug.c b/kern/debug.c index e9427a3..6e15e08 100644 --- a/kern/debug.c +++ b/kern/debug.c @@ -40,6 +40,8 @@ #include <device/cons.h> +#include <i386at/model_dep.h> + #if MACH_KDB extern int db_breakpoints_inserted; #endif -- 1.8.1.4
