From deae2ed9a875222874025a482560d5626360e082 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Tue, 7 May 2002 18:50:53 +0000 Subject: configure.in (AC_TYPE_PID_T): Use it. * configure.in (AC_TYPE_PID_T): Use it. * configure: Regenerated. * getruntime.c: Include . * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid". From-SVN: r53264 --- libiberty/getruntime.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libiberty/getruntime.c') diff --git a/libiberty/getruntime.c b/libiberty/getruntime.c index 9301deb..3f7dc0d 100644 --- a/libiberty/getruntime.c +++ b/libiberty/getruntime.c @@ -1,5 +1,5 @@ /* Return time used so far, in microseconds. - Copyright (C) 1994, 1999 Free Software Foundation, Inc. + Copyright (C) 1994, 1999, 2002 Free Software Foundation, Inc. This file is part of the libiberty library. Libiberty is free software; you can redistribute it and/or @@ -22,6 +22,10 @@ Boston, MA 02111-1307, USA. */ #include "ansidecl.h" #include "libiberty.h" +/* On some systems (such as WindISS), you must include + to get the definition of "time_t" before you include . */ +#include + /* There are several ways to get elapsed execution time; unfortunately no single way is available for all host systems, nor are there reliable ways to find out which way is correct for a given host. */ -- cgit v1.1