diff options
author | Jeff Law <jeffreyalaw@gmail.com> | 2023-12-29 21:23:26 -0700 |
---|---|---|
committer | Jeff Law <jeffreyalaw@gmail.com> | 2023-12-29 21:23:26 -0700 |
commit | 7ef32a98cdf74157ae734a7a833af5171585db0c (patch) | |
tree | 47c53c6214d2d9e7af0ed0d8e235dc9938e6450b | |
parent | a84860f4882c4d3c743c66a4861b5213799e6405 (diff) | |
download | newlib-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.
-rw-r--r-- | libgloss/mcore/sbrk.c | 1 |
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); |