summaryrefslogtreecommitdiff
path: root/news/cg/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'news/cg/patches/patch-aa')
-rw-r--r--news/cg/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/news/cg/patches/patch-aa b/news/cg/patches/patch-aa
new file mode 100644
index 00000000000..be265c48ab6
--- /dev/null
+++ b/news/cg/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2005/11/03 16:53:34 tv Exp $
+
+--- snprintf.c.orig 2002-05-13 12:51:22.000000000 -0400
++++ snprintf.c
+@@ -64,7 +64,7 @@
+
+ /* varargs declarations: */
+
+-#if defined(HAVE_STDARG_H)
++#if defined(HAVE_STDARG_H) || defined(__STDC__)
+ # include <stdarg.h>
+ # define HAVE_STDARGS /* let's hope that works everywhere (mj) */
+ # define VA_LOCAL_DECL va_list ap