summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.c b/util.c
index 32460b1..5a2f0e5 100644
--- a/util.c
+++ b/util.c
@@ -100,7 +100,9 @@ vsprintf_alloc(const char *f, va_list args)
{
int n, size = 12;
char *string;
+#if HAVE_DECL_VA_COPY
va_list args_copy;
+#endif
while(1) {
if(size > 4096)