From da7959d1e0cba81ac77d545a12c328d358f490f9 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 1 Jul 2002 14:19:20 +0000 Subject: Include sys/time.h; from Volker Borchert. --- lib/c-stack.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib') diff --git a/lib/c-stack.c b/lib/c-stack.c index 095f890..b502710 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 -- cgit v1.2.1