X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibposix.so_src%2Finclude_exp%2Fsys%2Fstat.h;h=be5ceb34218b3ff6b4e4d1b59263e4d1ba28fd86;hb=4c78a1bdd506cda6cda27ee342165c7dfa7ecdc2;hp=3e9f4303a4d6177de2b6009ad1358518f51b5245;hpb=c675e57a22a0224f5cc5143390d6239f4b578538;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/libposix.so_src/include_exp/sys/stat.h b/Usermode/Libraries/libposix.so_src/include_exp/sys/stat.h index 3e9f4303..be5ceb34 100644 --- a/Usermode/Libraries/libposix.so_src/include_exp/sys/stat.h +++ b/Usermode/Libraries/libposix.so_src/include_exp/sys/stat.h @@ -18,8 +18,12 @@ typedef uint64_t blkcnt_t; typedef unsigned int nlink_t; typedef uint32_t mode_t; +#ifndef uid_t typedef uint32_t uid_t; +#endif +#ifndef gid_t typedef uint32_t gid_t; +#endif #define S_IFMT 0170000 /* type of file */ #define S_IFDIR 0040000 /* directory */ @@ -51,5 +55,6 @@ struct stat extern int stat(const char *path, struct stat *buf); extern int lstat(const char *path, struct stat *buf); extern int fstat(int fd, struct stat *buf); +extern int mkdir(const char *pathname, mode_t mode); #endif