$NetBSD: patch-ab,v 1.1.1.1 2002/07/17 11:06:50 skrll Exp $

--- kbabel/common/libgettext/xmalloc.c.orig	Thu Dec  6 20:58:00 2001
+++ kbabel/common/libgettext/xmalloc.c
@@ -62,7 +62,11 @@
    The caller may set it to some other value.  */
 int xmalloc_exit_failure = EXIT_FAILURE;
 
+#ifdef __NetBSD__
+#include <err.h>
+#else
 void error (int, int, const char *, ...);
+#endif
 
 static VOID *
 fixup_null_alloc (n)
