aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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