summaryrefslogtreecommitdiff
path: root/src/user/bootstrap
diff options
context:
space:
mode:
authordzwdz2022-08-28 23:54:47 +0200
committerdzwdz2022-08-28 23:54:47 +0200
commitedb7fc07bf93e4a1883cccf45ad7a4b2cbf390d9 (patch)
tree1df1e95e52d54d538d345cbf455bed096d9a1bb0 /src/user/bootstrap
parentf2eb3a78c7b69c4b8e118d91327cc5c1016481fc (diff)
user/lua: prepare libc headers
Diffstat (limited to 'src/user/bootstrap')
-rw-r--r--src/user/bootstrap/main.c1
-rw-r--r--src/user/bootstrap/tar.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/user/bootstrap/main.c b/src/user/bootstrap/main.c
index 9a9a922..ea92af6 100644
--- a/src/user/bootstrap/main.c
+++ b/src/user/bootstrap/main.c
@@ -1,6 +1,7 @@
#include <camellia/flags.h>
#include <camellia/syscalls.h>
#include <shared/mem.h>
+#include <stdio.h>
#include <user/lib/elfload.h>
#include <user/lib/fs/misc.h>
diff --git a/src/user/bootstrap/tar.c b/src/user/bootstrap/tar.c
index 0a6a8a9..752c86e 100644
--- a/src/user/bootstrap/tar.c
+++ b/src/user/bootstrap/tar.c
@@ -4,8 +4,8 @@
#include <camellia/syscalls.h>
#include <shared/mem.h>
#include <stdint.h>
+#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
#include <user/lib/compat.h>
#include <user/lib/fs/dir.h>