aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsokolov <msokolov@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-23 23:20:30 +0000
committermsokolov <msokolov@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-23 23:20:30 +0000
commit1b3accb0687884e8e2d2bdd1f537543409819f68 (patch)
tree037c4b86caf65add0f1926060c9bad5652813ec0
parent7e6fc474e8961777ce34d7ac76e9e92061fa18e2 (diff)
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39216 138bc75d-0d04-0410-961f-82ee72b054a4
-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 0308ccfe028..6c5704c8c45 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 af5813772af..a855cb59539 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 1ea77319e96..62b06b6ad3b 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 afe8b24fc44..a0bc9836f44 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 63ad871bbd0..8036b5aabe4 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 c4075767a4c..572efd956eb 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 50378d54426..ad47872dc8d 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 673a0dba845..d4afa878cea 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 111d2ba63fa..86ee2fdefd5 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 dc817a7f482..d5f289c7064 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 054bb45a89a..e45cc05d055 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>