summaryrefslogtreecommitdiff
path: root/src/user/app/init
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/init')
-rw-r--r--src/user/app/init/driver/initctl.c2
-rw-r--r--src/user/app/init/driver/ps2.c2
-rw-r--r--src/user/app/init/driver/termcook.c1
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) {