aboutsummaryrefslogtreecommitdiff
path: root/libc/inc/sys.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inc/sys.h')
-rw-r--r--libc/inc/sys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inc/sys.h b/libc/inc/sys.h
index e7fdcf0..aead212 100644
--- a/libc/inc/sys.h
+++ b/libc/inc/sys.h
@@ -90,7 +90,6 @@ static inline u32 getpid()
return buf;
}
-#include <mem.h>
#include <print.h>
#include <str.h>
static inline u32 pidof(const char *name)
@@ -109,6 +108,7 @@ static inline u32 pidof(const char *name)
}
// Simple read wrapper
+#include <mem.h>
static inline void *sread(const char *path)
{
struct stat s = { 0 };