OSDN Git Service

hppa/bits/atomic.h: include errno.h to get EFAULT/ENOSYS
authorPeter S. Mazinger <ps.m@gmx.net>
Tue, 12 Apr 2011 20:10:32 +0000 (22:10 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 15 Jun 2012 12:00:36 +0000 (14:00 +0200)
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/sysdeps/linux/hppa/bits/atomic.h

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