summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/alpha/crt0.S2
-rw-r--r--libc/sysdeps/linux/sh/__longjmp.S1
2 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/alpha/crt0.S b/libc/sysdeps/linux/alpha/crt0.S
index 2e2941042..2d6a5a3a7 100644
--- a/libc/sysdeps/linux/alpha/crt0.S
+++ b/libc/sysdeps/linux/alpha/crt0.S
@@ -18,6 +18,8 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#include <features.h>
+
#define a0 $16 /* argument registers (caller-saved) */
#define a1 $17
#define a2 $18
diff --git a/libc/sysdeps/linux/sh/__longjmp.S b/libc/sysdeps/linux/sh/__longjmp.S
index 1bab16c94..9e310a283 100644
--- a/libc/sysdeps/linux/sh/__longjmp.S
+++ b/libc/sysdeps/linux/sh/__longjmp.S
@@ -20,6 +20,7 @@
#define _SETJMP_H
#define _ASM
#include <bits/setjmp.h>
+#include <features.h>
/* __longjmp(jmpbuf, val) */