From 016a9b0ed1d1246cb490d475bf35c2f502c70b2c Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 7 Jan 2021 18:47:24 +0100 Subject: Whoops --- libc/Makefile | 2 +- libc/print.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'libc') 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 #include #include +#include #include #include -- cgit v1.2.3