diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2006-10-29 19:07:54 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2006-10-29 19:07:54 +0000 |
commit | f8eae8b28b412fc8d9c8bad1961447652a306dd2 (patch) | |
tree | 7b39dbbce6990ef9b39b5d94910f2df89b0d9cc8 /binutils/configure.in | |
parent | e2785c4472a06867e3ddbd11a5609d3f1a9e0f32 (diff) | |
download | gdb-f8eae8b28b412fc8d9c8bad1961447652a306dd2.zip gdb-f8eae8b28b412fc8d9c8bad1961447652a306dd2.tar.gz gdb-f8eae8b28b412fc8d9c8bad1961447652a306dd2.tar.bz2 |
2006-10-29 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3384
* configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
* configure: Regenerated.
* config.in: Likewise.
* readelf.c: Include <limits.h> and <sys/param.h> for PATH_MAX.
(program_interpreter): Allocate PATH_MAX bytes instead of 64.
(process_program_headers): Don't assume that program interpreter
is shorter than 64 characters.
Diffstat (limited to 'binutils/configure.in')
-rw-r--r-- | binutils/configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/configure.in b/binutils/configure.in index 7b63f4d..f2f3db8 100644 --- a/binutils/configure.in +++ b/binutils/configure.in @@ -80,7 +80,7 @@ case "${host}" in esac AC_SUBST(DEMANGLER_NAME) -AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h) +AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h limits.h sys/param.h) AC_HEADER_SYS_WAIT AC_FUNC_ALLOCA AC_CHECK_FUNCS(sbrk utimes setmode getc_unlocked strcoll) |