--- rw/rwTable.c.orig	Mon Oct  2 14:53:32 2000
+++ rw/rwTable.c	Wed Feb 20 15:49:56 2002
@@ -231,6 +231,7 @@ RWtableGetWriterList()
 char *
 RWGetMsg()
 {
+#if !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(_NetBSD__)
 #if defined(BSD4_4)
     __const extern char *__const sys_errlist[];
 #else
@@ -245,6 +246,7 @@ RWGetMsg()
 #endif
 #endif
     extern int errno;
+#endif
 
     if (RWtableMsg[0] == '\0') {
 	if (errno == 0)
