diff options
Diffstat (limited to 'include/compat.h')
-rw-r--r-- | include/compat.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/compat.h b/include/compat.h index fae9d92..53c2e93 100644 --- a/include/compat.h +++ b/include/compat.h @@ -98,6 +98,13 @@ struct stat { (((x)&0x00000fffULL) << 8) | \ (((y)&0xffffff00ULL) << 12) | \ (((y)&0x000000ffULL)) ) + +#define AT_FDCWD (0xDEADBEEF) +#define AT_SYMLINK_NOFOLLOW (0x01) + +int fchownat(int dirfd, const char *path, int uid, int gid, int flags); + +int fchmodat(int dirfd, const char *path, int mode, int flags); #else #include <sys/types.h> #include <sys/stat.h> |