Browse Source

need to include features.h to get uclibc defines

Mike Frysinger 20 years ago
parent
commit
cc90599160
2 changed files with 3 additions and 0 deletions
  1. 2 0
      libc/sysdeps/linux/alpha/crt0.S
  2. 1 0
      libc/sysdeps/linux/sh/__longjmp.S

+ 2 - 0
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

+ 1 - 0
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) */