Commit Graph

3 Commits

Author SHA1 Message Date
Jeff Law 62df206565 * configure.in (AC_CHECK_HEADERS): Add time.h.
(AC_HEADER_TIME): Add check.
        * configure, config.in: Regenerate.
        * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
2000-07-23 19:20:18 +00:00
Richard Henderson 33fbbfbc00 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
* getruntime.c: Only attempt to include sys/resource.h and
        use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
        are defined.
1999-05-06 20:59:17 +00:00
Richard Henderson 252b5132c7 19990502 sourceware import 1999-05-03 07:29:11 +00:00