Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

After changes to sys/ddb build is broken..



After changes to db_lwp.c and db_print.c build is broken,
in db_lwp.c <sys/cpu.h> is includes twice and in db_print.c <stdbool.h>
is missing.

diff -u -r1.7 db_lwp.c
--- sys/ddb/db_lwp.c    12 Apr 2011 08:42:12 -0000      1.7
+++ sys/ddb/db_lwp.c    12 Apr 2011 11:45:31 -0000
@@ -37,7 +37,6 @@
 #endif
 
 #include <sys/param.h>
-#include <sys/cpu.h>
 #include <sys/proc.h>
 #include <sys/cpu.h>
 
diff -u -r1.28 db_print.c
--- sys/ddb/db_print.c  12 Apr 2011 08:42:12 -0000      1.28
+++ sys/ddb/db_print.c  12 Apr 2011 12:07:23 -0000
@@ -36,6 +36,10 @@
 #include <sys/cdefs.h>
 __KERNEL_RCSID(0, "$NetBSD: db_print.c,v 1.28 2011/04/12 08:42:12 mrg Exp $");
 
+#ifndef _KERNEL
+#include <stdbool.h>
+#endif
+
 #include <sys/param.h>
 #include <sys/proc.h>
 #include <sys/cpu.h>


Home | Main Index | Thread Index | Old Index