X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2Finclude%2Fsys%2Fstat.h;h=1813365470a194c3bdcef980a55645eeb266e976;hb=a41f3e5efdf853726d078dc03550de40e9d63bdd;hp=e9b9a8fa7a9239e3cd7658becec7ba6ce84d605b;hpb=d9ebb5f5afe298b388e45e8cd421ea715749fc88;p=tpg%2Facess2.git diff --git a/Usermode/include/sys/stat.h b/Usermode/include/sys/stat.h index e9b9a8fa..18133654 100644 --- a/Usermode/include/sys/stat.h +++ b/Usermode/include/sys/stat.h @@ -5,17 +5,19 @@ #ifndef _SYS_STAT_H_ #define _SYS_STAT_H_ -#include //EVIL! +#include "../acess/intdefs.h" /* Evil */ +#include "../stddef.h" -typedef uintptr_t dev_t; // TODO: How to identify a device with Acess -typedef uint64_t ino_t; +; +typedef void *dev_t; /* TODO: How to identify a device with Acess */ +typedef __uint64_t ino_t; typedef unsigned int blksize_t; -typedef uint64_t blkcnt_t; +typedef __uint64_t blkcnt_t; typedef unsigned int nlink_t; -typedef uint32_t mode_t; +typedef __uint32_t mode_t; -typedef uint32_t uid_t; -typedef uint32_t gid_t; +typedef __uint32_t uid_t; +typedef __uint32_t gid_t; #define S_IFMT 0170000 /* type of file */ #define S_IFDIR 0040000 /* directory */