aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Borner2021-01-07 18:47:24 +0100
committerMarvin Borner2021-01-07 18:47:41 +0100
commit016a9b0ed1d1246cb490d475bf35c2f502c70b2c (patch)
tree3440b8f1d470ea76efa361e9d9e4665ed56612bb
parent53c04d0f46bb95c16493d4ef0d102f69c171d315 (diff)
Whoops
-rw-r--r--libc/Makefile2
-rw-r--r--libc/print.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/libc/Makefile b/libc/Makefile
index 0b7e279..1a8e0f0 100644
--- a/libc/Makefile
+++ b/libc/Makefile
@@ -30,7 +30,7 @@ libc: $(COBJS)
@mkdir -p ../build/
@$(AR) rcs ../build/libc.a crt0.o $+
-libk: CFLAGS += -Dkernel -ffreestanding $(CFLAGS_EXTRA)
+libk: CFLAGS += -Dkernel -ffreestanding -I../kernel/inc/ $(CFLAGS_EXTRA)
libk: $(COBJS)
@mkdir -p ../build/
@$(AR) rcs ../build/libk.a $+
diff --git a/libc/print.c b/libc/print.c
index a9e21f6..12ad33b 100644
--- a/libc/print.c
+++ b/libc/print.c
@@ -4,6 +4,7 @@
#include <conv.h>
#include <def.h>
#include <mem.h>
+#include <assert.h>
#include <serial.h>
#include <str.h>