13 lines
383 B
Text
13 lines
383 B
Text
$NetBSD: patch-aa,v 1.2 2009/08/24 08:06:41 wiz Exp $
|
|
|
|
--- snprintf.c.orig 2002-05-13 16:51:22.000000000 +0000
|
|
+++ 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
|