chore: fix almost *ALL* warnings.
[lunaix-os.git] / lunaix-os / includes / lunaix / types.h
index a98ae976c8e63615ce4da5073002861d6627b59e..5a6fb9095839576578065c623d6d164c6c0600a7 100644 (file)
@@ -2,7 +2,7 @@
 #define __LUNAIX_TYPES_H
 
 #include <stdarg.h>
-#include <stdint.h>
+#include <stddef.h>
 #include <sys/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 */