diff options
author | Jeff Law <law@redhat.com> | 2000-07-23 19:20:18 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2000-07-23 19:20:18 +0000 |
commit | 62df20656565cd422330ae2b2aebf61c67cbaf22 (patch) | |
tree | 6fa6cd87995a561e5688cac81306465eb230d329 /libiberty/configure.in | |
parent | 25c6c1126869b8a7070f37b8a0f8a1fa5a3ade47 (diff) | |
download | gdb-62df20656565cd422330ae2b2aebf61c67cbaf22.zip gdb-62df20656565cd422330ae2b2aebf61c67cbaf22.tar.gz gdb-62df20656565cd422330ae2b2aebf61c67cbaf22.tar.bz2 |
* 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>.
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r-- | libiberty/configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in index ecae1b1..041a43d 100644 --- a/libiberty/configure.in +++ b/libiberty/configure.in @@ -109,8 +109,9 @@ AC_SUBST_FILE(host_makefile_frag) # It's OK to check for header files. Although the compiler may not be # able to link anything, it had better be able to at least compile # something. -AC_CHECK_HEADERS(sys/file.h sys/param.h stdlib.h string.h unistd.h strings.h sys/time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h) +AC_CHECK_HEADERS(sys/file.h sys/param.h limits.h stdlib.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h) AC_HEADER_SYS_WAIT +AC_HEADER_TIME libiberty_AC_DECLARE_ERRNO |