summaryrefslogtreecommitdiff
path: root/kernel/fs/shm.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/shm.h')
-rw-r--r--kernel/fs/shm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/fs/shm.h b/kernel/fs/shm.h
index 977c18f..2a184dd 100644
--- a/kernel/fs/shm.h
+++ b/kernel/fs/shm.h
@@ -2,8 +2,7 @@
#define SHM_H
#include <stddef.h>
#include <typedefs.h>
-
-typedef int mode_t;
+#include <sys/types.h>
void shm_init(void);
int shm_open(const char *name, int oflag, mode_t mode);