For ARC builds atleast, __NR_xxx was not trickling into in open64.c causing open64->openat a needless detour via open
Signed-off-by: Vineet Gupta <[email protected]> --- libc/sysdeps/linux/common/open64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libc/sysdeps/linux/common/open64.c b/libc/sysdeps/linux/common/open64.c index 23a777b4723a..87db49f6cd22 100644 --- a/libc/sysdeps/linux/common/open64.c +++ b/libc/sysdeps/linux/common/open64.c @@ -4,6 +4,7 @@ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ +#include <sys/syscall.h> #include <_lfs_64.h> #include <fcntl.h> #include <stdarg.h> -- 1.8.3.2 _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
