$NetBSD: patch-ab,v 1.14 2022/03/06 13:04:20 ryoon Exp $

Always use varargs on NetBSD

--- acconfig.h.orig	2014-04-26 10:58:46.000000000 +0000
+++ acconfig.h
@@ -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.
