1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 02:36:16 +02:00

Include sys/time.h.

From Volker Borchert.
This commit is contained in:
Jim Meyering
2002-07-01 14:19:20 +00:00
parent a7d1d17be0
commit 214d3ee739

View File

@@ -68,6 +68,12 @@ typedef struct sigaltstack stack_t;
#include <string.h>
#if HAVE_SYS_RESOURCE_H
/* Include sys/time.h here, because...
SunOS-4.1.x <sys/resource.h> fails to include <sys/time.h>.
This gives "incomplete type" errors for ru_utime and tu_stime. */
# if HAVE_SYS_TIME_H
# include <sys/time.h>
# endif
# include <sys/resource.h>
#endif