summaryrefslogtreecommitdiff
path: root/graphics/xpaint/patches/patch-ac
blob: 91af3f62c53103fb6bea69293fedc6615641c683 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ac,v 1.8 2005/09/06 14:53:36 adam Exp $

--- rw/rwTable.c.orig	2005-08-17 13:00:25.000000000 +0000
+++ rw/rwTable.c
@@ -251,6 +251,7 @@ RWtableGetWriterList()
 char *
 RWGetMsg()
 {
+#ifndef __NetBSD__
 #if defined(BSD4_4)
     __const extern char *__const sys_errlist[];
 #else
@@ -264,6 +265,7 @@ RWGetMsg()
 #endif
 #endif
 #endif
+#endif
 
     if (RWtableMsg[0] == '\0') {
 	if (errno == 0)