* libF77/getenv_.c: Include stdlib.h.
authorMumit Khan <khan@xraylith.wisc.edu>
Mon, 12 Apr 1999 20:42:45 +0000 (20:42 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 12 Apr 1999 20:42:45 +0000 (14:42 -0600)
From-SVN: r26385

libf2c/ChangeLog
libf2c/libF77/getenv_.c

index b932c06ba32bce0ae48cdecb15098aacc371b1d1..82259f00b557efbeb23057690c3eae0342fa7787 100644 (file)
@@ -1,3 +1,7 @@
+Mon Apr 12 21:38:14 1999  Mumit Khan  <khan@xraylith.wisc.edu>
+       
+       * libF77/getenv_.c: Include stdlib.h.
+
 Sun Apr 11 23:30:42 1999  Mumit Khan  <khan@xraylith.wisc.edu>
 
        * libU77/dtime_.c: Handle all variants of WIN32.
index b9916e6065e55b6f8f361678dbc85f39a0502ef1..bc116feb38ad479e6a9dcc8c8cf1c1375be468ef 100644 (file)
@@ -1,5 +1,10 @@
 #include "f2c.h"
 
+#ifndef KR_headers
+#undef abs
+#include <stdlib.h>
+#endif
+
 /*
  * getenv - f77 subroutine to return environment variables
  *