diff options
Diffstat (limited to 'libc/bionic/chown.cpp')
-rw-r--r-- | libc/bionic/chown.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/bionic/chown.cpp b/libc/bionic/chown.cpp index bc2e6054..dce16736 100644 --- a/libc/bionic/chown.cpp +++ b/libc/bionic/chown.cpp | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <fcntl.h> | 29 | #include <fcntl.h> |
30 | #include <sys/stat.h> | 30 | #include <sys/stat.h> |
31 | #include <sys/types.h> | 31 | #include <sys/types.h> |
32 | #include <unistd.h> | ||
32 | 33 | ||
33 | int chown(const char* path, uid_t uid, gid_t gid) { | 34 | int chown(const char* path, uid_t uid, gid_t gid) { |
34 | return fchownat(AT_FDCWD, path, uid, gid, 0); | 35 | return fchownat(AT_FDCWD, path, uid, gid, 0); |