瀏覽代碼

open64: ensure that openat check works

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>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Vineet Gupta 10 年之前
父節點
當前提交
7e829db6ae
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      libc/sysdeps/linux/common/open64.c

+ 1 - 0
libc/sysdeps/linux/common/open64.c

@@ -5,6 +5,7 @@
  */
 
 #include <_lfs_64.h>
+#include <sys/syscall.h>
 #include <fcntl.h>
 #include <stdarg.h>
 #include <cancel.h>