diff options
Diffstat (limited to 'cpukit/shttpd/string.c')
-rw-r--r-- | cpukit/shttpd/string.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/shttpd/string.c b/cpukit/shttpd/string.c index 8e9023cf31..34e5a721fa 100644 --- a/cpukit/shttpd/string.c +++ b/cpukit/shttpd/string.c @@ -10,6 +10,7 @@ #include "defs.h" +#ifndef HAVE_STRLCPY void my_strlcpy(register char *dst, register const char *src, size_t n) { @@ -17,6 +18,7 @@ my_strlcpy(register char *dst, register const char *src, size_t n) *dst++ = *src++; *dst = '\0'; } +#endif int my_strncasecmp(const char *str1, const char *str2, size_t len) |