public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Fix another missing header file for mcore libgloss
@ 2023-12-30  4:26 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2023-12-30  4:26 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=7ef32a98cdf74157ae734a7a833af5171585db0c

commit 7ef32a98cdf74157ae734a7a833af5171585db0c
Author: Jeff Law <jeffreyalaw@gmail.com>
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:
---
 libgloss/mcore/sbrk.c | 1 +
 1 file changed, 1 insertion(+)

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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-30  4:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-30  4:26 [newlib-cygwin] Fix another missing header file for mcore libgloss Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).