aboutsummaryrefslogtreecommitdiff
path: root/libgloss/mcore
diff options
context:
space:
mode:
authorJeff Law <jeffreyalaw@gmail.com>2023-12-29 21:23:26 -0700
committerJeff Law <jeffreyalaw@gmail.com>2023-12-29 21:23:26 -0700
commit7ef32a98cdf74157ae734a7a833af5171585db0c (patch)
tree47c53c6214d2d9e7af0ed0d8e235dc9938e6450b /libgloss/mcore
parenta84860f4882c4d3c743c66a4861b5213799e6405 (diff)
downloadnewlib-7ef32a98cdf74157ae734a7a833af5171585db0c.zip
newlib-7ef32a98cdf74157ae734a7a833af5171585db0c.tar.gz
newlib-7ef32a98cdf74157ae734a7a833af5171585db0c.tar.bz2
Fix another missing header file for mcore libgloss
I guess I must have missed this when working through the trivial port specific changes. This adds an include of stdlib.h to get a prototype for exit(). Pushed to the trunk.
Diffstat (limited to 'libgloss/mcore')
-rw-r--r--libgloss/mcore/sbrk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgloss/mcore/sbrk.c b/libgloss/mcore/sbrk.c
index 1eb8047..c686019 100644
--- a/libgloss/mcore/sbrk.c
+++ b/libgloss/mcore/sbrk.c
@@ -14,6 +14,7 @@
*/
#include <sys/types.h>
#include <sys/stat.h>
+#include <stdlib.h>
#include "glue.h"
extern int _write (int, char *, int);