--- rw/rwTable.c.orig	Wed Jun 13 11:48:14 2001
+++ rw/rwTable.c	Wed Jun 13 11:50:05 2001
@@ -231,6 +231,7 @@
 char *
 RWGetMsg()
 {
+#if !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(_NetBSD__)
 #if defined(BSD4_4)
     __const extern char *__const sys_errlist[];
 #else
@@ -245,6 +246,7 @@
 #endif
 #endif
     extern int errno;
+#endif
 
     if (RWtableMsg[0] == '\0') {
 	if (errno == 0)
