patch-rw_rwTable_c 513 B

1234567891011121314151617181920
  1. $OpenBSD: patch-rw_rwTable_c,v 1.5 2005/10/31 23:24:19 naddy Exp $
  2. --- rw/rwTable.c.orig Wed Aug 17 15:00:25 2005
  3. +++ rw/rwTable.c Tue Nov 1 00:03:27 2005
  4. @@ -251,6 +251,7 @@ RWtableGetWriterList()
  5. char *
  6. RWGetMsg()
  7. {
  8. +#if !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(_NetBSD__)
  9. #if defined(BSD4_4)
  10. __const extern char *__const sys_errlist[];
  11. #else
  12. @@ -260,6 +261,7 @@ RWGetMsg()
  13. # define sys_errlist _sys_errlist
  14. #else
  15. extern char *sys_errlist[];
  16. +#endif
  17. #endif
  18. #endif
  19. #endif