summaryrefslogtreecommitdiff
path: root/lib/zebra.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index 5d0e2385..83da37c5 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -95,6 +95,12 @@ typedef int socklen_t;
/* misc include group */
#include <stdarg.h>
+#if !(defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)
+/* Not C99; do we need to define va_copy? */
+#if !defined(va_copy) && defined(__va_copy)
+#define va_copy(DST,SRC) __va_copy(DST,SRC)
+#endif /* need va_copy */
+#endif /* !C99 */
#include "zassert.h"
#ifdef HAVE_LCAPS