diff options
author | dzwdz | 2022-08-28 23:54:47 +0200 |
---|---|---|
committer | dzwdz | 2022-08-28 23:54:47 +0200 |
commit | edb7fc07bf93e4a1883cccf45ad7a4b2cbf390d9 (patch) | |
tree | 1df1e95e52d54d538d345cbf455bed096d9a1bb0 /src/user/app/init | |
parent | f2eb3a78c7b69c4b8e118d91327cc5c1016481fc (diff) |
user/lua: prepare libc headers
Diffstat (limited to 'src/user/app/init')
-rw-r--r-- | src/user/app/init/driver/initctl.c | 2 | ||||
-rw-r--r-- | src/user/app/init/driver/ps2.c | 2 | ||||
-rw-r--r-- | src/user/app/init/driver/termcook.c | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/user/app/init/driver/initctl.c b/src/user/app/init/driver/initctl.c index 34171de..7f5fc20 100644 --- a/src/user/app/init/driver/initctl.c +++ b/src/user/app/init/driver/initctl.c @@ -2,8 +2,8 @@ #include <camellia/syscalls.h> #include <ctype.h> #include <errno.h> +#include <stdlib.h> #include <string.h> -#include <unistd.h> #include <user/lib/compat.h> void initctl_drv(handle_t killswitch) { diff --git a/src/user/app/init/driver/ps2.c b/src/user/app/init/driver/ps2.c index 85b83b7..0d344ed 100644 --- a/src/user/app/init/driver/ps2.c +++ b/src/user/app/init/driver/ps2.c @@ -2,7 +2,7 @@ #include <camellia/syscalls.h> #include <shared/container/ring.h> #include <stdbool.h> -#include <unistd.h> +#include <stdlib.h> #include <user/lib/compat.h> diff --git a/src/user/app/init/driver/termcook.c b/src/user/app/init/driver/termcook.c index 83b46be..c23d76f 100644 --- a/src/user/app/init/driver/termcook.c +++ b/src/user/app/init/driver/termcook.c @@ -1,6 +1,7 @@ #include "driver.h" #include <camellia/syscalls.h> #include <stdio.h> +#include <stdlib.h> #include <unistd.h> static void w_output(handle_t output, const char *buf, size_t len) { |