diff options
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; |