freebsd-ports/graphics/xpaint/files/patch-ag
Justin M. Seger 17fa90d0d0 Upgrade to xpaint-2.5.7
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
PR:		ports/17464
2000-03-21 15:45:59 +00:00

19 lines
406 B
Plaintext

--- rw/rwTable.c.orig Wed Jun 10 06:09:32 1998
+++ rw/rwTable.c Fri Mar 17 01:20:54 2000
@@ -231,6 +231,7 @@
char *
RWGetMsg()
{
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !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)