Module Name:    src
Committed By:   tsutsui
Date:           Mon Jun 11 16:27:08 UTC 2012

Modified Files:
        src/sys/arch/dreamcast/dreamcast: machdep.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/dreamcast/dreamcast/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/dreamcast/dreamcast/machdep.c
diff -u src/sys/arch/dreamcast/dreamcast/machdep.c:1.42 src/sys/arch/dreamcast/dreamcast/machdep.c:1.43
--- src/sys/arch/dreamcast/dreamcast/machdep.c:1.42	Mon Dec 20 00:25:31 2010
+++ src/sys/arch/dreamcast/dreamcast/machdep.c	Mon Jun 11 16:27:08 2012
@@ -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 
 #include <sh3/bscreg.h>
 #include <machine/intr.h>
 #include <machine/kloader.h>
+#include <machine/pcb.h>
 
 #include <dev/cons.h>
 

Reply via email to