[git commit] hppa/bits/atomic.h: include errno.h to get EFAULT/ENOSYS

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Jun 15 12:00:36 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=e086af1dd0cf82f5b82ab9bc0d3ffb4de6be4da7
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 libc/sysdeps/linux/hppa/bits/atomic.h |    1 +
 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 87aeb84..08a7c3e 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__)


More information about the uClibc-cvs mailing list