diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/extern.h | 6 | ||||
| -rw-r--r-- | include/sysconf.h.in | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/extern.h b/include/extern.h index 18fd359de..5e2940c99 100644 --- a/include/extern.h +++ b/include/extern.h @@ -798,6 +798,12 @@ E int m_version(char *source, int ac, char **av); E int toupper(char); E int tolower(char); E char *strscpy(char *d, const char *s, size_t len); +#ifndef HAVE_STRLCPY +E size_t strlcpy(char *, const char *, size_t); +#endif +#ifndef HAVE_STRLCAT +E size_t strlcat(char *, const char *, size_t); +#endif E char *stristr(char *s1, char *s2); E char *strnrepl(char *s, int32 size, const char *old, const char *new); E char *merge_args(int argc, char **argv); diff --git a/include/sysconf.h.in b/include/sysconf.h.in index 6e61fcd32..e61bacb1c 100644 --- a/include/sysconf.h.in +++ b/include/sysconf.h.in @@ -63,6 +63,12 @@ /* Define to 1 if you have the <string.h> header file. */ #undef HAVE_STRING_H +/* Define to 1 if you have the `strlcat' function. */ +#undef HAVE_STRLCAT + +/* Define to 1 if you have the `strlcpy' function. */ +#undef HAVE_STRLCPY + /* Define to 1 if you have the `strsignal' function. */ #undef HAVE_STRSIGNAL |
