diff options
author | Alan Modra <amodra@gmail.com> | 2013-04-05 04:13:41 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-04-05 04:13:41 +0000 |
commit | 952781e82cc7dd01165447f137ea88f83f2c6bdf (patch) | |
tree | 56a421bc7ecddd869f9cc022da62038dc5a2e5fd /binutils/dwarf.c | |
parent | 4b7654eed702241bfa2c3714a9f1a42acfba5c4f (diff) | |
download | gdb-952781e82cc7dd01165447f137ea88f83f2c6bdf.zip gdb-952781e82cc7dd01165447f137ea88f83f2c6bdf.tar.gz gdb-952781e82cc7dd01165447f137ea88f83f2c6bdf.tar.bz2 |
PR binutils/15324
* configure.in: Add strnlen to AC_CHECK_DECLS, sort.
* dwarf.c (strnlen): Provide fallback decl.
* config.in: Regnerate.
* configure: Regenerate.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r-- | binutils/dwarf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c index a3a5949..4f5aa2b 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -29,6 +29,10 @@ #include "dwarf.h" #include "gdb/gdb-index.h" +#if !HAVE_DECL_STRNLEN +size_t strnlen (const char *, size_t); +#endif + static const char *regname (unsigned int regno, int row); static int have_frame_base; |