X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fc-stack.c;h=b5027107022b8ae21cf558aa44d2aea8e4fadcfa;hb=a9b64ea6a96fe625db5332f5e2b3e5f968704af7;hp=095f890e514209ddcc3f4b1e4d270c55b4d2c09c;hpb=19434ee9fb81a65f28fd994e7ee4f99c23cf26e5;p=gnulib.git 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