summaryrefslogtreecommitdiff
path: root/utils/talloc.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-04-16 12:49:49 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-04-16 12:49:49 +0000
commit6a7b1a73a7bcc4e4e6ee3a2343fd11b2453aefb1 (patch)
treede7b79a609c26b5deb62d0b1b0139ef2513528c1 /utils/talloc.c
parent3a12ed0facbdbc79b358d48d78f158a735ee6158 (diff)
downloadnetsurf-6a7b1a73a7bcc4e4e6ee3a2343fd11b2453aefb1.tar.gz
netsurf-6a7b1a73a7bcc4e4e6ee3a2343fd11b2453aefb1.tar.bz2
Fix compilation with GCC 2.95.
It astounds me how some of this lot compiled at all. svn path=/trunk/netsurf/; revision=7104
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>