aboutsummaryrefslogtreecommitdiff
path: root/libc/inc/sys.h
diff options
context:
space:
mode:
authorMarvin Borner2021-02-16 22:33:42 +0100
committerMarvin Borner2021-02-16 22:33:42 +0100
commit392b0ff1fcc52c189f131c71ea2a969d1b8c5690 (patch)
tree22cc9e27c09cb9887ca6972e07602070cda25451 /libc/inc/sys.h
parent1287f9dfe987f0456e4fb0741385d5f0278ef53b (diff)
Okay!
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 };