瀏覽代碼

pull in unistd.h for syscall() prototype

Mike Frysinger 18 年之前
父節點
當前提交
145570840f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      libc/sysdeps/linux/hppa/syscall.c

+ 1 - 0
libc/sysdeps/linux/hppa/syscall.c

@@ -19,6 +19,7 @@
 #include <stdarg.h>
 #include <errno.h>
 #include <sys/syscall.h>
+#include <unistd.h>
 
 /* HPPA implements syscall() in 'C'; the assembler version would
    typically be in syscall.S. Also note that we have INLINE_SYSCALL,