d600f50f1f
Submitted by Margarida Sequeira <niness@devilness.org> who takes over maintainership
21 lines
526 B
Plaintext
21 lines
526 B
Plaintext
$OpenBSD: patch-rw_rwTable_c,v 1.3 2002/09/07 07:09:13 pvalchev Exp $
|
|
--- rw/rwTable.c.orig Fri Sep 6 23:44:29 2002
|
|
+++ rw/rwTable.c Fri Sep 6 23:50:40 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,7 +246,7 @@ RWGetMsg()
|
|
#endif
|
|
#endif
|
|
extern int errno;
|
|
-
|
|
+#endif
|
|
if (RWtableMsg[0] == '\0') {
|
|
if (errno == 0)
|
|
return "";
|