wm: teppich

Download patch

ref: 873ff6ca249bc069c5d38b18902e271668ebdc30
parent: 83b2bd4a1c90233331fe35203e555f738b192704
author: mkf <mkf@cloud9p.org>
date: Tue Nov 28 07:20:59 EST 2023

cmd/cal: incldue header files

--- a/cmd/cal.c
+++ b/cmd/cal.c
@@ -1,3 +1,9 @@
+#include <u.h>
+#include <libc.h>
+
+#include <mem.h>
+#include <ps2.h>
+
 char*
 somegetline(int n)
 {
@@ -13,7 +19,7 @@
   {
     c = ps2_getc();
     // you may, or may not require the following
-    vga_putc(c); 
+    printf("%c", c); 
     
     if(c == '\r' || c == '\n')
     {