Explicitly include <machine/pcb.h> for struct pcb.
Fixes build error on GENERIC + no options DDB, reported by Yasushi Oshima. Should be pulled up to netbsd-6.
This commit is contained in:
parent
58d3be794f
commit
d64da08176
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: machdep.c,v 1.42 2010/12/20 00:25:31 matt Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.43 2012/06/11 16:27:08 tsutsui Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997, 1998, 2002 The NetBSD Foundation, Inc.
|
||||
|
@ -65,7 +65,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.42 2010/12/20 00:25:31 matt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.43 2012/06/11 16:27:08 tsutsui Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_kgdb.h"
|
||||
|
@ -98,6 +98,7 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.42 2010/12/20 00:25:31 matt Exp $");
|
|||
#include <sh3/bscreg.h>
|
||||
#include <machine/intr.h>
|
||||
#include <machine/kloader.h>
|
||||
#include <machine/pcb.h>
|
||||
|
||||
#include <dev/cons.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue