summaryrefslogtreecommitdiff
path: root/src/unexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unexec.c')
-rw-r--r--src/unexec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unexec.c b/src/unexec.c
index 5417f760467..c1dc6e33016 100644
--- a/src/unexec.c
+++ b/src/unexec.c
@@ -207,7 +207,11 @@ static long data_scnptr;
#else /* not COFF */
+#ifdef __STDC__
+extern void *sbrk ();
+#else
extern char *sbrk ();
+#endif
#define SYMS_START ((long) N_SYMOFF (ohdr))