summaryrefslogtreecommitdiff
path: root/news/cg/patches/patch-aa
blob: be265c48ab641eff05468f8eb42606ba5dffd5b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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