openbsd-ports/graphics/xpaint/patches/patch-rw_rwTable_c
kevlo d00bbe55da - upgrade to version 2.6.1
- add HOMEPAGE
2001-06-13 03:53:39 +00:00

19 lines
405 B
Plaintext

--- rw/rwTable.c.orig Wed Jun 13 11:48:14 2001
+++ rw/rwTable.c Wed Jun 13 11:50:05 2001
@@ -231,6 +231,7 @@
char *
RWGetMsg()
{
+#if !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(_NetBSD__)
#if defined(BSD4_4)
__const extern char *__const sys_errlist[];
#else
@@ -245,6 +246,7 @@
#endif
#endif
extern int errno;
+#endif
if (RWtableMsg[0] == '\0') {
if (errno == 0)