summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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__)