Commit ac294bfb ac294bfbdef79bbaf188fb56fe7622ea4c21771c by Sergey Poznyakoff

Provide declarations for vasprintf,asprintf if necessary.

1 parent c5a037c0
......@@ -15,6 +15,16 @@
*/
#include "mu_asprintf.h"
#if !HAVE_DECL_VASPRINTF
extern int vasprintf __P((char **result, const char *format, va_list args));
#endif
#if !HAVE_DECL_ASPRINTF
#if __STDC__
extern int asprintf __P((char **result, const char *format, ...));
#else
extern int asprintf ();
#endif
#endif
int
mu_vasprintf (char **result, const char *format, va_list * args)
......