openbsd-ports/graphics/xpaint/patches/patch-ae

19 lines
404 B
Plaintext

--- rw/rwTable.c.~1~ Fri Jul 3 19:18:59 1998
+++ rw/rwTable.c Fri Jul 3 19:20:44 1998
@@ -231,6 +231,7 @@
char *
RWGetMsg()
{
+#if !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(_NetBSD__)
#if defined(BSD4_4)
__const extern char *__const sys_errlist[];
#else
@@ -239,6 +240,7 @@
#endif
#endif
extern int errno;
+#endif
if (RWtableMsg[0] == '\0') {
if (errno == 0)