summaryrefslogtreecommitdiff
path: root/src/user/lib/fs
diff options
context:
space:
mode:
authordzwdz2022-07-26 19:31:06 +0200
committerdzwdz2022-07-26 19:31:06 +0200
commita3e27d361919392eeb0086ed93b105d8301c7913 (patch)
tree91996a17172b650416bda82a472336b9d0edcdf0 /src/user/lib/fs
parent7a29c68ce0dc190cd6350746210441bc41d7da91 (diff)
user: move the POSIX-y stuff to the proper header files
Diffstat (limited to 'src/user/lib/fs')
-rw-r--r--src/user/lib/fs/misc.c5
-rw-r--r--src/user/lib/fs/misc.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/src/user/lib/fs/misc.c b/src/user/lib/fs/misc.c
index 99993ed..3a248ec 100644
--- a/src/user/lib/fs/misc.c
+++ b/src/user/lib/fs/misc.c
@@ -2,8 +2,11 @@
#include <camellia/syscalls.h>
#include <shared/mem.h>
#include <stdbool.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
#include <user/lib/fs/misc.h>
-#include <user/lib/stdlib.h>
bool fork2_n_mount(const char *path) {
handle_t h;
diff --git a/src/user/lib/fs/misc.h b/src/user/lib/fs/misc.h
index 1e41956..0d9eb20 100644
--- a/src/user/lib/fs/misc.h
+++ b/src/user/lib/fs/misc.h
@@ -1,6 +1,6 @@
#pragma once
#include <stdbool.h>
-#include <user/lib/stdlib.h>
+#include <stdio.h>
bool fork2_n_mount(const char *path);