summaryrefslogtreecommitdiff
path: root/include/asterisk/strings.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/strings.h')
-rwxr-xr-xinclude/asterisk/strings.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/strings.h b/include/asterisk/strings.h
index 37a5faccd..e0e5148a3 100755
--- a/include/asterisk/strings.h
+++ b/include/asterisk/strings.h
@@ -214,7 +214,7 @@ struct ast_realloca {
char *strcasestr(const char *, const char *);
#endif
-#ifndef HAVE_STRNDUP
+#if !defined(HAVE_STRNDUP) && !defined(__AST_DEBUG_MALLOC)
char *strndup(const char *, size_t);
#endif
@@ -222,7 +222,7 @@ char *strndup(const char *, size_t);
size_t strnlen(const char *, size_t);
#endif
-#ifndef HAVE_VASPRINTF
+#if !defined(HAVE_VASPRINTF) && !defined(__AST_DEBUG_MALLOC)
int vasprintf(char **strp, const char *fmt, va_list ap);
#endif