X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibposix.so_src%2Finclude_exp%2Fsys%2Fstat.h;h=0340a9fc285e407273598ecb04605b2f46827e51;hb=5adb5ede8ce40823e6d749d3b5cfe645fb785d06;hp=c57492814fa766ac2d29b0a8ffd0ede810f322d4;hpb=6cca7994b0b4b232df98a7c3856197d6075bf1cc;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 c5749281..0340a9fc 100644 --- a/Usermode/Libraries/libposix.so_src/include_exp/sys/stat.h +++ b/Usermode/Libraries/libposix.so_src/include_exp/sys/stat.h @@ -18,13 +18,6 @@ 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 */ #define S_IFCHR 0020000 /* character special */ @@ -55,5 +48,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