diff options
author | dzwdz | 2022-07-26 19:31:06 +0200 |
---|---|---|
committer | dzwdz | 2022-07-26 19:31:06 +0200 |
commit | a3e27d361919392eeb0086ed93b105d8301c7913 (patch) | |
tree | 91996a17172b650416bda82a472336b9d0edcdf0 /src/user/app/init/tests/main.c | |
parent | 7a29c68ce0dc190cd6350746210441bc41d7da91 (diff) |
user: move the POSIX-y stuff to the proper header files
Diffstat (limited to 'src/user/app/init/tests/main.c')
-rw-r--r-- | src/user/app/init/tests/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/user/app/init/tests/main.c b/src/user/app/init/tests/main.c index 4f8e858..cf59925 100644 --- a/src/user/app/init/tests/main.c +++ b/src/user/app/init/tests/main.c @@ -1,10 +1,12 @@ #define TEST_MACROS +#include "tests.h" #include <camellia/errno.h> #include <camellia/execbuf.h> #include <camellia/flags.h> #include <camellia/syscalls.h> -#include <user/app/init/tests/main.h> -#include <user/lib/stdlib.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> static void run_forked(void (*fn)()) { if (!fork()) { |