summaryrefslogtreecommitdiff
path: root/src/user/app/init/driver/termcook.c
diff options
context:
space:
mode:
authordzwdz2022-07-26 19:31:06 +0200
committerdzwdz2022-07-26 19:31:06 +0200
commita3e27d361919392eeb0086ed93b105d8301c7913 (patch)
tree91996a17172b650416bda82a472336b9d0edcdf0 /src/user/app/init/driver/termcook.c
parent7a29c68ce0dc190cd6350746210441bc41d7da91 (diff)
user: move the POSIX-y stuff to the proper header files
Diffstat (limited to 'src/user/app/init/driver/termcook.c')
-rw-r--r--src/user/app/init/driver/termcook.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/user/app/init/driver/termcook.c b/src/user/app/init/driver/termcook.c
index 868d5d3..59cef77 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 <user/app/init/driver/driver.h>
-#include <user/lib/stdlib.h>
+#include <stdio.h>
+#include <unistd.h>
static void w_output(handle_t output, const char *buf, size_t len) {
size_t pos = 0;