diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-02-15 16:08:48 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-02-15 16:08:48 -0500 |
commit | cda892ddbea3e669ad622ed4aaa766d066ff0d57 (patch) | |
tree | 00c0bd75bcaaaf62283af97d85ae90f3c4ee7932 /arch | |
parent | 26f3551419d853f463e1eec42d41812b4b67f667 (diff) | |
download | musl-cda892ddbea3e669ad622ed4aaa766d066ff0d57.zip musl-cda892ddbea3e669ad622ed4aaa766d066ff0d57.tar.gz musl-cda892ddbea3e669ad622ed4aaa766d066ff0d57.tar.bz2 |
fix directory reading on x86_64
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86_64/syscall.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/syscall.h b/arch/x86_64/syscall.h index cfaa790..3b6f70e 100644 --- a/arch/x86_64/syscall.h +++ b/arch/x86_64/syscall.h @@ -393,9 +393,11 @@ static inline long syscall6(long n, long a1, long a2, long a3, long a4, #undef __NR_fstatat #undef __NR_pread #undef __NR_pwrite +#undef __NR_getdents #define __NR_fstatat __NR_newfstatat #define __NR_pread __NR_pread64 #define __NR_pwrite __NR_pwrite64 +#define __NR_getdents __NR_getdents64 #undef O_LARGEFILE #define O_LARGEFILE 0100000 |