openbsd-ports/graphics/xpaint/patches/patch-rw_rwTable_c
pvalchev d600f50f1f Update to xpaint-2.6.2, formatting changes.
Submitted by Margarida Sequeira <niness@devilness.org> who takes
over maintainership
2002-09-07 07:09:13 +00:00

21 lines
526 B
Plaintext

$OpenBSD: patch-rw_rwTable_c,v 1.3 2002/09/07 07:09:13 pvalchev Exp $
--- rw/rwTable.c.orig Fri Sep 6 23:44:29 2002
+++ rw/rwTable.c Fri Sep 6 23:50:40 2002
@@ -231,6 +231,7 @@ RWtableGetWriterList()
char *
RWGetMsg()
{
+#if !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(_NetBSD__)
#if defined(BSD4_4)
__const extern char *__const sys_errlist[];
#else
@@ -245,7 +246,7 @@ RWGetMsg()
#endif
#endif
extern int errno;
-
+#endif
if (RWtableMsg[0] == '\0') {
if (errno == 0)
return "";