aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sokolov <msokolov@ivan.Harhan.ORG>2001-01-23 23:20:30 +0000
committerMichael Sokolov <msokolov@gcc.gnu.org>2001-01-23 23:20:30 +0000
commitf40ae7c1b1b55995ae188080beeb16941e709af8 (patch)
tree037c4b86caf65add0f1926060c9bad5652813ec0
parent955dc84a48c02e062293b115f8c29619570111bd (diff)
downloadgcc-f40ae7c1b1b55995ae188080beeb16941e709af8.zip
gcc-f40ae7c1b1b55995ae188080beeb16941e709af8.tar.gz
gcc-f40ae7c1b1b55995ae188080beeb16941e709af8.tar.bz2
ctime_.c: #include <sys/types.h> for time_t.
* libU77/ctime_.c: #include <sys/types.h> for time_t. * libU77/datetime_.c: Likewise. * libU77/fdate_.c: Likewise. * libU77/gmtime_.c: Likewise. * libU77/idate_.c: Likewise. * libU77/itime_.c: Likewise. * libU77/ltime_.c: Likewise. * libU77/sys_clock_.c: Likewise. * libU77/vxtidate_.c: Likewise. * libU77/vxttime_.c: Likewise. From-SVN: r39216
-rw-r--r--libf2c/ChangeLog11
-rw-r--r--libf2c/libU77/ctime_.c3
-rw-r--r--libf2c/libU77/datetime_.c3
-rw-r--r--libf2c/libU77/fdate_.c3
-rw-r--r--libf2c/libU77/gmtime_.c3
-rw-r--r--libf2c/libU77/idate_.c3
-rw-r--r--libf2c/libU77/itime_.c3
-rw-r--r--libf2c/libU77/ltime_.c3
-rw-r--r--libf2c/libU77/sys_clock_.c3
-rw-r--r--libf2c/libU77/vxtidate_.c3
-rw-r--r--libf2c/libU77/vxttime_.c3
11 files changed, 31 insertions, 10 deletions
diff --git a/libf2c/ChangeLog b/libf2c/ChangeLog
index 0308ccf..6c5704c 100644
--- a/libf2c/ChangeLog
+++ b/libf2c/ChangeLog
@@ -1,5 +1,16 @@
2001-01-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
+ * libU77/ctime_.c: #include <sys/types.h> for time_t.
+ * libU77/datetime_.c: Likewise.
+ * libU77/fdate_.c: Likewise.
+ * libU77/gmtime_.c: Likewise.
+ * libU77/idate_.c: Likewise.
+ * libU77/itime_.c: Likewise.
+ * libU77/ltime_.c: Likewise.
+ * libU77/sys_clock_.c: Likewise.
+ * libU77/vxtidate_.c: Likewise.
+ * libU77/vxttime_.c: Likewise.
+
* libU77/sys_clock_.c: #include <sys/param.h> for the clock tick rate.
2000-12-09 Toon Moene <toon@moene.indiv.nluug.nl>
diff --git a/libf2c/libU77/ctime_.c b/libf2c/libU77/ctime_.c
index af58137..a855cb5 100644
--- a/libf2c/libU77/ctime_.c
+++ b/libf2c/libU77/ctime_.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 2001 Free Software Foundation, Inc.
This file is part of GNU Fortran libU77 library.
This library is free software; you can redistribute it and/or modify it
@@ -19,6 +19,7 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#include <sys/types.h>
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
diff --git a/libf2c/libU77/datetime_.c b/libf2c/libU77/datetime_.c
index 1ea7731..62b06b6 100644
--- a/libf2c/libU77/datetime_.c
+++ b/libf2c/libU77/datetime_.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
This file is part of GNU Fortran libU77 library.
This library is free software; you can redistribute it and/or modify it
@@ -20,6 +20,7 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#endif
#include <stdio.h>
+#include <sys/types.h>
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
diff --git a/libf2c/libU77/fdate_.c b/libf2c/libU77/fdate_.c
index afe8b24..a0bc983 100644
--- a/libf2c/libU77/fdate_.c
+++ b/libf2c/libU77/fdate_.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 2001 Free Software Foundation, Inc.
This file is part of GNU Fortran libU77 library.
This library is free software; you can redistribute it and/or modify it
@@ -20,6 +20,7 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#endif
#include <stdio.h>
+#include <sys/types.h>
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
diff --git a/libf2c/libU77/gmtime_.c b/libf2c/libU77/gmtime_.c
index 63ad871..8036b5a 100644
--- a/libf2c/libU77/gmtime_.c
+++ b/libf2c/libU77/gmtime_.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 2001 Free Software Foundation, Inc.
This file is part of GNU Fortran libU77 library.
This library is free software; you can redistribute it and/or modify it
@@ -19,6 +19,7 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#include <sys/types.h>
/* fixme: do we need to use TM_IN_SYS_TIME? */
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
diff --git a/libf2c/libU77/idate_.c b/libf2c/libU77/idate_.c
index c407576..572efd9 100644
--- a/libf2c/libU77/idate_.c
+++ b/libf2c/libU77/idate_.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 2001 Free Software Foundation, Inc.
This file is part of GNU Fortran libU77 library.
This library is free software; you can redistribute it and/or modify it
@@ -20,6 +20,7 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#endif
#include <stdio.h>
+#include <sys/types.h>
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
diff --git a/libf2c/libU77/itime_.c b/libf2c/libU77/itime_.c
index 50378d5..ad47872 100644
--- a/libf2c/libU77/itime_.c
+++ b/libf2c/libU77/itime_.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 2001 Free Software Foundation, Inc.
This file is part of GNU Fortran libU77 library.
This library is free software; you can redistribute it and/or modify it
@@ -20,6 +20,7 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#endif
#include <stdio.h>
+#include <sys/types.h>
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
diff --git a/libf2c/libU77/ltime_.c b/libf2c/libU77/ltime_.c
index 673a0db..d4afa87 100644
--- a/libf2c/libU77/ltime_.c
+++ b/libf2c/libU77/ltime_.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 2001 Free Software Foundation, Inc.
This file is part of GNU Fortran libU77 library.
This library is free software; you can redistribute it and/or modify it
@@ -19,6 +19,7 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#include <sys/types.h>
/* fixme: do we need to use TM_IN_SYS_TIME? */
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
diff --git a/libf2c/libU77/sys_clock_.c b/libf2c/libU77/sys_clock_.c
index 111d2ba..86ee2fd 100644
--- a/libf2c/libU77/sys_clock_.c
+++ b/libf2c/libU77/sys_clock_.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1998, 2001 Free Software Foundation, Inc.
This file is part of GNU Fortran libU77 library.
This library is free software; you can redistribute it and/or modify it
@@ -19,6 +19,7 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#include <sys/types.h>
#if HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif
diff --git a/libf2c/libU77/vxtidate_.c b/libf2c/libU77/vxtidate_.c
index dc817a7..d5f289c 100644
--- a/libf2c/libU77/vxtidate_.c
+++ b/libf2c/libU77/vxtidate_.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 2001 Free Software Foundation, Inc.
This file is part of GNU Fortran libU77 library.
This library is free software; you can redistribute it and/or modify it
@@ -20,6 +20,7 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#endif
#include <stdio.h>
+#include <sys/types.h>
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
diff --git a/libf2c/libU77/vxttime_.c b/libf2c/libU77/vxttime_.c
index 054bb45..e45cc05 100644
--- a/libf2c/libU77/vxttime_.c
+++ b/libf2c/libU77/vxttime_.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 2001 Free Software Foundation, Inc.
This file is part of GNU Fortran libU77 library.
This library is free software; you can redistribute it and/or modify it
@@ -20,6 +20,7 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#endif
#include <stdio.h>
+#include <sys/types.h>
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>