From: Rich Felker Date: Tue, 15 Feb 2011 21:08:48 +0000 (-0500) Subject: fix directory reading on x86_64 X-Git-Tag: v0.6.0~22 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cda892ddbea3e669ad622ed4aaa766d066ff0d57;p=oweals%2Fmusl.git fix directory reading on x86_64 --- diff --git a/arch/x86_64/syscall.h b/arch/x86_64/syscall.h index cfaa790f..3b6f70e6 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