aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newlib/libc/sys/h8300hms/sbrk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/sys/h8300hms/sbrk.c b/newlib/libc/sys/h8300hms/sbrk.c
index 1456a67..a99ae29 100644
--- a/newlib/libc/sys/h8300hms/sbrk.c
+++ b/newlib/libc/sys/h8300hms/sbrk.c
@@ -1,8 +1,10 @@
#include <_ansi.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <stdlib.h>
register char *stack_ptr asm ("sp");
+extern int _write (int, char *, int);
caddr_t
_sbrk(incr)