浏览代码

missing include

Carlos 10 年之前
父节点
当前提交
47badebd18
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      21-shell/kernel/kernel.c

+ 1 - 2
21-shell/kernel/kernel.c

@@ -1,6 +1,7 @@
 #include "../cpu/isr.h"
 #include "../drivers/screen.h"
 #include "kernel.h"
+#include "../libc/string.h"
 
 void main() {
     isr_install();
@@ -8,8 +9,6 @@ void main() {
 
     kprint("Type something, it will go through the kernel\n"
         "Type END to halt the CPU\n> ");
-
-    // Do we need an infinite loop here?
 }
 
 void user_input(char *input) {