Fix another missing header file for mcore libgloss
Jeff Law <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
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. jeff
P
(text/plain, 689 B)
commit 7ef32a98cdf74157ae734a7a833af5171585db0c Author: Jeff Law <[email protected]> Date: Fri Dec 29 21:23:26 2023 -0700 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. diff --git a/libgloss/mcore/sbrk.c b/libgloss/mcore/sbrk.c index 1eb8047fc..c6860194c 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);