summaryrefslogtreecommitdiff
path: root/devel/kdesdk3/patches/patch-ab
blob: 509cece0c228072ab0e2b93b788352b7833e3868 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$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)