summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc/crt0.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/powerpc/crt0.c')
-rw-r--r--libc/sysdeps/linux/powerpc/crt0.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/powerpc/crt0.c b/libc/sysdeps/linux/powerpc/crt0.c
index 4bb289128..cf1c94af4 100644
--- a/libc/sysdeps/linux/powerpc/crt0.c
+++ b/libc/sysdeps/linux/powerpc/crt0.c
@@ -21,6 +21,8 @@
*
*/
+#include <errno.h>
+
asm(
"\t.global _start\n"
"\t_start:\n"
@@ -67,4 +69,3 @@ void _start2(void)
__uClibc_main(argc,p+1,p+2+argc);
}
-