소스 검색

xtensa: sysdep.h needs to include sys/syscall.h

The Xtensa version of sysdep.h didn't include sys/syscall.h. This header
file is, for example, needed by not-cancel.h, which uses the
INTERNAL_SYSCALL macro.

Signed-off-by: Chris Zankel <chris@zankel.net>
Chris Zankel 13 년 전
부모
커밋
29fb29d319
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      libc/sysdeps/linux/xtensa/sysdep.h

+ 2 - 0
libc/sysdeps/linux/xtensa/sysdep.h

@@ -17,6 +17,8 @@
    Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
    Boston, MA 02110-1301, USA.  */
 
+#include <sys/syscall.h>
+
 #ifdef __ASSEMBLER__
 
 #define ALIGNARG(log2) 1 << log2