$NetBSD: patch-ab,v 1.12 2014/08/25 20:02:32 kim Exp $

Always use varargs on NetBSD

--- config.h.in.orig	2014-04-26 10:58:46.000000000 +0000
+++ config.h.in	2014-08-25 18:07:27.000000000 +0000
@@ -498,6 +498,15 @@
  */
 #undef USEVARARGS
 
+#ifdef __NetBSD__
+/*
+ * XXX gcc 3.3 on some NetBSD platforms fails the configure test for this
+ * so force it on anyway.
+ */
+#undef USEVARARGS
+#define USEVARARGS 1
+#endif
+
 /*
  * If the select return value doesn't treat a descriptor that is
  * usable for reading and writing as two hits, define SELECT_BROKEN.
