aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-06-21 20:13:23 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-06-21 20:13:23 +0000
commit723770e59dfa0a9f91193a70f2e267701309ea07 (patch)
tree73f188b1f86efac9b809e7944258725d9416cc9a
parent15a40ced5aac977c558a93e969ce375cc8d0372b (diff)
downloadgcc-723770e59dfa0a9f91193a70f2e267701309ea07.zip
gcc-723770e59dfa0a9f91193a70f2e267701309ea07.tar.gz
gcc-723770e59dfa0a9f91193a70f2e267701309ea07.tar.bz2
dtime_.c, etime_.c: Include stdlib.h if HAVE_STDLIB_H is defined.
* libU77/dtime_.c, libU77/etime_.c: Include stdlib.h if HAVE_STDLIB_H is defined. From-SVN: r34639
-rw-r--r--libf2c/ChangeLog5
-rw-r--r--libf2c/libU77/dtime_.c3
-rw-r--r--libf2c/libU77/etime_.c3
3 files changed, 11 insertions, 0 deletions
diff --git a/libf2c/ChangeLog b/libf2c/ChangeLog
index 2c734c6..23787c3 100644
--- a/libf2c/ChangeLog
+++ b/libf2c/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-21 Zack Weinberg <zack@wolery.cumb.org>
+
+ * libU77/dtime_.c, libU77/etime_.c: Include stdlib.h if
+ HAVE_STDLIB_H is defined.
+
2000-06-11 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
* rdfmt.c (rd_L): Use if-then-else instead of case statement to
diff --git a/libf2c/libU77/dtime_.c b/libf2c/libU77/dtime_.c
index aa34bc0..19100e6 100644
--- a/libf2c/libU77/dtime_.c
+++ b/libf2c/libU77/dtime_.c
@@ -19,6 +19,9 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#if HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
diff --git a/libf2c/libU77/etime_.c b/libf2c/libU77/etime_.c
index eae559f..88eead3 100644
--- a/libf2c/libU77/etime_.c
+++ b/libf2c/libU77/etime_.c
@@ -19,6 +19,9 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#if HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif