$NetBSD$

--- common/posib_err.cpp.orig	2006-09-17 19:21:18.000000000 +0200
+++ common/posib_err.cpp	2006-09-17 19:23:21.000000000 +0200
@@ -14,6 +14,9 @@
 
 #include "gettext.h"
 
+#ifdef DECLARE_SNPRINTF
+int snprintf(char *str, size_t size, const char *format, ...);
+#endif
 
 namespace acommon {
 
