blob: 300b20796ef79d6e937670e63c0258f17ae4343c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- 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
|