| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-workers-bounces using -f |
| X-Authenticated: | #27081556 |
| X-Provags-ID: | V01U2FsdGVkX1+1ZPlAOa21gJyinQ4MgjvYv17+CST1upDKa0766T |
| zS2L+PyeXfWbWM | |
| From: | Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de> |
| To: | djgpp-workers AT delorie DOT com |
| Subject: | Fixing /djgpp/src/misc.c |
| Date: | Fri, 30 Mar 2007 01:03:32 +0200 |
| User-Agent: | KMail/1.8.2 |
| MIME-Version: | 1.0 |
| Message-Id: | <200703300103.32656.juan.guerrero@gmx.de> |
| X-Y-GMX-Trusted: | 0 |
| Reply-To: | djgpp-workers AT delorie DOT com |
Include stdlib.h for declaration of exit().
Regards,
Juan M. Guerrero
diff -aprNU5 djgpp.orig/src/misc.c djgpp/src/misc.c
--- djgpp.orig/src/misc.c 1997-11-14 19:53:06 +0000
+++ djgpp/src/misc.c 2007-03-30 00:43:18 +0000
@@ -1,7 +1,8 @@
/* Copyright (C) 1997 DJ Delorie, see COPYING.DJ for details */
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
/* Miscellaneous things that are hard to do the same
between Unix and MS-DOS */
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |