diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/Makefile | 2 | ||||
-rw-r--r-- | libc/print.c | 1 |
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> |