refactor: restructure the user space stuff.
[lunaix-os.git] / lunaix-os / includes / lunaix / types.h
index a98ae976c8e63615ce4da5073002861d6627b59e..fc0ef1ceeedce13b2a66702ba2ae9ffa1877da58 100644 (file)
@@ -2,8 +2,8 @@
 #define __LUNAIX_TYPES_H
 
 #include <stdarg.h>
-#include <stdint.h>
-#include <sys/types.h>
+#include <stddef.h>
+#include <usr/lunaix/types.h>
 
 #define PACKED __attribute__((packed))
 
@@ -17,6 +17,11 @@ typedef unsigned int u32_t;
 typedef unsigned long long u64_t;
 typedef unsigned long ptr_t;
 
-typedef int64_t lba_t;
+typedef signed long ssize_t;
+typedef int pid_t;
+typedef unsigned long size_t;
+typedef unsigned long off_t;
+
+typedef u64_t lba_t;
 
 #endif /* __LUNAIX_TYPES_H */