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 | ba72e8fe3f6ff3d3b7f37f5ff289150a3523ba40 (patch) | |
tree | 88ee5741217fe2507b6fe1e4f263f3f85f065ea0 /libiberty/strtoul.c | |
parent | 4316b40ad54f23fd6e367e151a1768144b5ff93b (diff) | |
download | gdb-ba72e8fe3f6ff3d3b7f37f5ff289150a3523ba40.tar.gz |
* 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/strtoul.c')
-rw-r--r-- | libiberty/strtoul.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libiberty/strtoul.c b/libiberty/strtoul.c index 59d428cd49e..87fa3ffdf93 100644 --- a/libiberty/strtoul.c +++ b/libiberty/strtoul.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 |