aboutsummaryrefslogtreecommitdiff
path: root/bfd/sysdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/sysdep.h')
-rw-r--r--bfd/sysdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/sysdep.h b/bfd/sysdep.h
index a30da90..7e441eb 100644
--- a/bfd/sysdep.h
+++ b/bfd/sysdep.h
@@ -170,6 +170,10 @@ extern int fseeko64 (FILE *stream, off64_t offset, int whence);
#endif
#endif
+#if !HAVE_DECL_STRNLEN
+size_t strnlen (const char *, size_t);
+#endif
+
/* Define offsetof for those systems which lack it */
#ifndef offsetof