aboutsummaryrefslogtreecommitdiff
path: root/libiberty/strtol.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2000-07-23 19:20:18 +0000
committerJeff Law <law@redhat.com>2000-07-23 19:20:18 +0000
commit62df20656565cd422330ae2b2aebf61c67cbaf22 (patch)
tree6fa6cd87995a561e5688cac81306465eb230d329 /libiberty/strtol.c
parent25c6c1126869b8a7070f37b8a0f8a1fa5a3ade47 (diff)
downloadfsf-binutils-gdb-62df20656565cd422330ae2b2aebf61c67cbaf22.zip
fsf-binutils-gdb-62df20656565cd422330ae2b2aebf61c67cbaf22.tar.gz
fsf-binutils-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/strtol.c')
-rw-r--r--libiberty/strtol.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libiberty/strtol.c b/libiberty/strtol.c
index b4c66c4..c05d0dd 100644
--- a/libiberty/strtol.c
+++ b/libiberty/strtol.c
@@ -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