aboutsummaryrefslogtreecommitdiff
path: root/libf2c/libU77/ltime_.c
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 /libf2c/libU77/ltime_.c
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
Diffstat (limited to 'libf2c/libU77/ltime_.c')
-rw-r--r--libf2c/libU77/ltime_.c3
1 files changed, 2 insertions, 1 deletions
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>