diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-26 13:18:32 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-26 13:18:32 +0000 |
commit | df8474783925877473e7cff13c34df95a4a51f75 (patch) | |
tree | a9acd112053303e280d5d3b1a396d65f848d62e9 /include | |
parent | 73ac801e85c59b21c7a6d5160f6d47c15f0337ed (diff) |
add the missing prototype for the included asprintf
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22526 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/strings.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/strings.h b/include/asterisk/strings.h index 13bb970ef..6750a278d 100644 --- a/include/asterisk/strings.h +++ b/include/asterisk/strings.h @@ -272,6 +272,10 @@ size_t strnlen(const char *, size_t); int vasprintf(char **strp, const char *fmt, va_list ap); #endif +#if !defined(HAVE_ASPRINTF) && !defined(__AST_DEBUG_MALLOC) +int asprintf(char **str, const char *fmt, ...); +#endif + #ifndef HAVE_STRTOQ uint64_t strtoq(const char *nptr, char **endptr, int base); #endif |