$NetBSD: patch-ab,v 1.7 2006/10/01 08:52:01 schwarz Exp $ --- common/string.cpp.orig 2006-09-17 18:06:12.000000000 +0200 +++ common/string.cpp 2006-09-17 18:27:35.000000000 +0200 @@ -18,6 +18,10 @@ #include "string.hpp" #include "asc_ctype.hpp" +#ifdef DECLARE_VSNPRINTF +int vsnprintf(char *str, size_t size, const char *format, va_list ap); +#endif + namespace acommon { // reserve space for at least s+1 characters