diff options
author | Alan Modra <amodra@bigpond.net.au> | 2013-04-05 04:13:41 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2013-04-05 04:13:41 +0000 |
commit | cd33434d8c8d21bfbdc5858aaeb89f8694e9b0f0 (patch) | |
tree | 712ea49dd9dcfd07ff39339e9e8fbbdb74130743 /binutils/dwarf.c | |
parent | 3778541840b7619bcacda1ef576181bc3584cd10 (diff) | |
download | binutils-redhat-cd33434d8c8d21bfbdc5858aaeb89f8694e9b0f0.tar.gz |
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 a3a5949932..4f5aa2bfe6 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; |