Marin Ramesa, le Fri 06 Dec 2013 16:29:54 +0100, a écrit :
> This include fixes the implicit declaration of function. But I don't know
> if it is correct to include here stuff from i386at.

It is not, one can use <machine/model_dep.h> instead.

> * 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
> 
> 

-- 
Samuel
"And the next time you consider complaining that running Lucid Emacs
19.05 via NFS from a remote Linux machine in Paraguay doesn't seem to
get the background colors right, you'll know who to thank."
(By Matt Welsh)

Reply via email to