summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/hppa/bits
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/hppa/bits')
-rw-r--r--libc/sysdeps/linux/hppa/bits/syscalls.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/hppa/bits/syscalls.h b/libc/sysdeps/linux/hppa/bits/syscalls.h
index cb80138f5..365f5b4b1 100644
--- a/libc/sysdeps/linux/hppa/bits/syscalls.h
+++ b/libc/sysdeps/linux/hppa/bits/syscalls.h
@@ -9,12 +9,10 @@
* programs. */
#include <bits/sysnum.h>
-#ifndef __set_errno
-# define __set_errno(val) (*__errno_location ()) = (val)
-#endif
-
#ifndef __ASSEMBLER__
+#include <errno.h>
+
#define SYS_ify(syscall_name) __NR_##syscall_name
/* Assume all syscalls are done from PIC code just to be