summaryrefslogtreecommitdiff
path: root/gcc/protoize.c
diff options
context:
space:
mode:
authormycroft <mycroft@138bc75d-0d04-0410-961f-82ee72b054a4>1994-07-11 19:03:10 +0000
committermycroft <mycroft@138bc75d-0d04-0410-961f-82ee72b054a4>1994-07-11 19:03:10 +0000
commitb81452b1521614ce0453de8c96ff4cc1e2d1a862 (patch)
tree3aa4c1f9c45cb35d8e443d224cf0c80be71c040d /gcc/protoize.c
parent556074bd0f60b6761058facf234c230f27e587b8 (diff)
downloadgcc-b81452b1521614ce0453de8c96ff4cc1e2d1a862.tar.gz
Do the 4.4BSD sys_errlist modification for NetBSD also.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7707 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r--gcc/protoize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index 2be545f57ec..00b7638ae29 100644
--- a/gcc/protoize.c
+++ b/gcc/protoize.c
@@ -79,7 +79,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef getopt
extern int errno;
-#if defined(bsd4_4)
+#if defined(bsd4_4) || defined(__NetBSD__)
extern const char *const sys_errlist[];
#else
extern char *sys_errlist[];