From: Mumit Khan Date: Mon, 12 Apr 1999 20:42:45 +0000 (+0000) Subject: * libF77/getenv_.c: Include stdlib.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d78b684f612508cbf420c6688523dc5f5950bb61;p=gcc.git * libF77/getenv_.c: Include stdlib.h. From-SVN: r26385 --- diff --git a/libf2c/ChangeLog b/libf2c/ChangeLog index b932c06ba32..82259f00b55 100644 --- a/libf2c/ChangeLog +++ b/libf2c/ChangeLog @@ -1,3 +1,7 @@ +Mon Apr 12 21:38:14 1999 Mumit Khan + + * libF77/getenv_.c: Include stdlib.h. + Sun Apr 11 23:30:42 1999 Mumit Khan * libU77/dtime_.c: Handle all variants of WIN32. diff --git a/libf2c/libF77/getenv_.c b/libf2c/libF77/getenv_.c index b9916e6065e..bc116feb38a 100644 --- a/libf2c/libF77/getenv_.c +++ b/libf2c/libF77/getenv_.c @@ -1,5 +1,10 @@ #include "f2c.h" +#ifndef KR_headers +#undef abs +#include +#endif + /* * getenv - f77 subroutine to return environment variables *