summaryrefslogtreecommitdiff
path: root/graphics/xpaint/patches/patch-ac
blob: 4ab62f51ee3c0b51f4c48f0ae2bc8aac4718ea53 (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.5 2003/07/17 09:01:02 adam Exp $

--- rw/rwTable.c.orig	2003-04-12 22:41:40.000000000 +0200
+++ rw/rwTable.c	2003-07-17 09:43:42.000000000 +0200
@@ -246,6 +246,7 @@
 char *
 RWGetMsg()
 {
+#ifndef __NetBSD__
 #if defined(BSD4_4)
     __const extern char *__const sys_errlist[];
 #else
@@ -260,6 +261,7 @@
 #endif
 #endif
     extern int errno;
+#endif
 
     if (RWtableMsg[0] == '\0') {
 	if (errno == 0)