summaryrefslogtreecommitdiff
path: root/utils/talloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/talloc.c')
-rw-r--r--utils/talloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/talloc.c b/utils/talloc.c
index 985bba93b..7b84a9a77 100644
--- a/utils/talloc.c
+++ b/utils/talloc.c
@@ -55,7 +55,7 @@
#include "replace.h"
#else
#include <stdarg.h>
-#if !defined(__BEOS__) && !defined(__HAIKU__)
+#if !defined(__BEOS__) && !defined(__HAIKU__) && __GNUC__ > 2
/* Assume we've got va_copy */
#define HAVE_VA_COPY
#include <string.h>