aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sokolov <msokolov@ivan.Harhan.ORG>2001-01-23 23:04:35 +0000
committerMichael Sokolov <msokolov@gcc.gnu.org>2001-01-23 23:04:35 +0000
commit0d5d970bca624a00478efad15373bdd77f0d80cf (patch)
tree50512e64f2c398938b481d1b72c6d5351dd5ae19
parenteff01bb615f99284e9f67ca2ed08823944a9936e (diff)
downloadgcc-0d5d970bca624a00478efad15373bdd77f0d80cf.zip
gcc-0d5d970bca624a00478efad15373bdd77f0d80cf.tar.gz
gcc-0d5d970bca624a00478efad15373bdd77f0d80cf.tar.bz2
com.c: Don't explicitly include any time headers...
* com.c: Don't explicitly include any time headers, the right ones are already included by proj.h. From-SVN: r39214
-rw-r--r--gcc/f/ChangeLog5
-rw-r--r--gcc/f/com.c16
2 files changed, 7 insertions, 14 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog
index 7fa1853..e8b7972 100644
--- a/gcc/f/ChangeLog
+++ b/gcc/f/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
+
+ * com.c: Don't explicitly include any time headers, the right ones are
+ already included by proj.h.
+
2001-01-15 Mark Mitchell <mark@codesourcery.com>
* com.c (ffecom_lookup_label): Set DECL_CONTEXT for FORMAT
diff --git a/gcc/f/com.c b/gcc/f/com.c
index 67b09b3c..0bae4cf 100644
--- a/gcc/f/com.c
+++ b/gcc/f/com.c
@@ -1,5 +1,5 @@
/* com.c -- Implementation File (module.c template V1.0)
- Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000
+ Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
Contributed by James Craig Burley.
@@ -124,19 +124,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
# endif
#endif
-#ifndef RLIMIT_STACK
-# include <time.h>
-#else
-# if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-# else
-# if HAVE_SYS_TIME_H
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
-# endif
+#ifdef RLIMIT_STACK
# include <sys/resource.h>
#endif