浏览代码

hppa/bits/atomic.h: include errno.h to get EFAULT/ENOSYS

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger 14 年之前
父节点
当前提交
e086af1dd0
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      libc/sysdeps/linux/hppa/bits/atomic.h

+ 1 - 0
libc/sysdeps/linux/hppa/bits/atomic.h

@@ -18,6 +18,7 @@
    02111-1307 USA.  */
    02111-1307 USA.  */
 
 
 #include <stdint.h>
 #include <stdint.h>
+#include <errno.h>
 #include <bits/kernel-features.h>
 #include <bits/kernel-features.h>
 
 
 #define ABORT_INSTRUCTION __asm__(__UCLIBC_ABORT_INSTRUCTION__)
 #define ABORT_INSTRUCTION __asm__(__UCLIBC_ABORT_INSTRUCTION__)