diff options
Diffstat (limited to 'setup_native/scripts')
-rw-r--r-- | setup_native/scripts/source/getuid.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/setup_native/scripts/source/getuid.c b/setup_native/scripts/source/getuid.c index 82040ef3121f..f62bf161a19d 100644 --- a/setup_native/scripts/source/getuid.c +++ b/setup_native/scripts/source/getuid.c @@ -64,6 +64,9 @@ int fstatat64(int fildes, const char *path, struct stat64 *buf, int flag) #elif defined LINUX +uid_t getuid (void) {return 0;} +uid_t geteuid (void) {return 0;} + /* This is to fool tar */ int __lxstat64(int n, const char *path, struct stat64 *buf) { |