From: Jim Meyering Date: Mon, 1 Jul 2002 14:19:20 +0000 (+0000) Subject: Include sys/time.h. X-Git-Tag: cvs-readonly~5255 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=aa761cb27306e99f556bd0e241fef38023202ca8;p=gnulib.git Include sys/time.h. From Volker Borchert. --- diff --git a/lib/c-stack.c b/lib/c-stack.c index 095f890e5..b50271070 100644 --- a/lib/c-stack.c +++ b/lib/c-stack.c @@ -68,6 +68,12 @@ typedef struct sigaltstack stack_t; #include #if HAVE_SYS_RESOURCE_H +/* Include sys/time.h here, because... + SunOS-4.1.x fails to include . + This gives "incomplete type" errors for ru_utime and tu_stime. */ +# if HAVE_SYS_TIME_H +# include +# endif # include #endif