* 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>.
This commit is contained in:
Jeff Law
2000-07-23 19:20:18 +00:00
parent 25c6c11268
commit 62df206565
9 changed files with 176 additions and 85 deletions

View File

@@ -28,7 +28,15 @@
* SUCH DAMAGE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#include <ctype.h>
#include <errno.h>
#ifdef NEED_DECLARATION_ERRNO