Message ID | 1403161718-20874-1-git-send-email-vgupta@synopsys.com |
---|---|
State | Accepted |
Commit | 7e829db6ae6f181ce6b6db51e1568acddac81738 |
Headers | show |
On Thu, Jun 19, 2014 at 12:38:38PM +0530, Vineet Gupta wrote: > For ARC builds atleast, __NR_xxx was not trickling into in open64.c > causing open64->openat a needless detour via open !LT.old includes it via cancel.h / sysdep-cancel.h so this only makes a difference for LT.old. Applied, thanks.
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>
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 <vgupta@synopsys.com> --- libc/sysdeps/linux/common/open64.c | 1 + 1 file changed, 1 insertion(+)