summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-20 13:53:55 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-20 21:51:11 +0100
commit6f9c19e543125a5c35cc8a1e3c8c7cf7ecc7f010 (patch)
treed6a4b6b153b96621c2dfcf5b2d7ad87b7fa7af26
parentedfa24bf9ff31a099016480857e34fc95385a400 (diff)
kern/startup.c: fix implicit declaration of function
* kern/startup.c [MACH_KDB]: Include device/cons.h.
-rw-r--r--kern/startup.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kern/startup.c b/kern/startup.c
index 5e35b98..22e9997 100644
--- a/kern/startup.c
+++ b/kern/startup.c
@@ -58,7 +58,9 @@
#include <machine/model_dep.h>
#include <mach/version.h>
-
+#if MACH_KDB
+#include <device/cons.h>
+#endif /* MACH_KDB */
extern void vm_mem_init();
extern void vm_mem_bootstrap();