diff options
Diffstat (limited to 'src/common/compat.h')
-rw-r--r-- | src/common/compat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/compat.h b/src/common/compat.h index 50acd42444..707a349f0b 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -55,6 +55,12 @@ #define strncasecmp strnicmp #define strcasecmp stricmp #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 int tor_snprintf(char *str, size_t size, const char *format, ...) CHECK_PRINTF(3,4); |