freebsd-ports/graphics/xpaint/files/patch-rw_libpnmrw.c
Renato Botelho be79a3f962 - Update to 2.7.8.1
PR:		ports/86121
Submitted by:	Ports Fury
2005-09-16 11:04:49 +00:00

18 lines
422 B
C

--- rw/libpnmrw.c.orig Sun Apr 10 17:52:02 2005
+++ rw/libpnmrw.c Sun Apr 17 01:33:51 2005
@@ -131,6 +131,7 @@
static void
pm_perror(char *reason)
{
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
#if defined(BSD4_4)
__const extern char *__const sys_errlist[];
#else
@@ -141,6 +142,7 @@
#else
#ifdef MISSING_STRERROR
extern char *sys_errlist[];
+#endif
#endif
#endif
#endif