diff options
Diffstat (limited to 'lib/str.h')
-rw-r--r-- | lib/str.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -21,4 +21,8 @@ size_t strlcpy(char *, const char *, size_t); size_t strlcat(char *, const char *, size_t); #endif +#ifndef HAVE_STRNLEN +extern size_t strnlen(const char *s, size_t maxlen); +#endif + #endif |