$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
