diff options
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r-- | include/asterisk/compat.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index e02d3c7c1..838e24e47 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -61,6 +61,14 @@ int unsetenv(const char *name); int vasprintf(char **strp, const char *fmt, va_list ap); #endif +#ifndef HAVE_STRLCAT +size_t strlcat(char *dst, const char *src, size_t siz); +#endif + +#ifndef HAVE_STRLCPY +size_t strlcpy(char *dst, const char *src, size_t siz); +#endif + #ifdef SOLARIS #define __BEGIN_DECLS #define __END_DECLS |