fix: corrected time conversion on alarm/sleep syscall
[lunaix-os.git] / lunaix-os / includes / lunaix / types.h
index 5a6fb9095839576578065c623d6d164c6c0600a7..8b0c0d62dab1d526f03914b3e340419b4728b8c7 100644 (file)
@@ -1,9 +1,10 @@
 #ifndef __LUNAIX_TYPES_H
 #define __LUNAIX_TYPES_H
 
+#include <lunaix/compiler.h>
 #include <stdarg.h>
 #include <stddef.h>
-#include <sys/types.h>
+#include <usr/lunaix/types.h>
 
 #define PACKED __attribute__((packed))
 
@@ -22,6 +23,8 @@ typedef int pid_t;
 typedef unsigned long size_t;
 typedef unsigned long off_t;
 
+typedef unsigned int cpu_t;
+
 typedef u64_t lba_t;
 
 #endif /* __LUNAIX_TYPES_H */