summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/hppa
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-12 22:10:32 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:36 +0200
commite086af1dd0cf82f5b82ab9bc0d3ffb4de6be4da7 (patch)
tree26cd16361f8e55abe26d12752530b849d1312301 /libc/sysdeps/linux/hppa
parentdc0a93c756035fb319f45b53585e9fbb9f8e36fa (diff)
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>
Diffstat (limited to 'libc/sysdeps/linux/hppa')
-rw-r--r--libc/sysdeps/linux/hppa/bits/atomic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/hppa/bits/atomic.h b/libc/sysdeps/linux/hppa/bits/atomic.h
index 87aeb84a0..08a7c3e27 100644
--- a/libc/sysdeps/linux/hppa/bits/atomic.h
+++ b/libc/sysdeps/linux/hppa/bits/atomic.h
@@ -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__)