summaryrefslogtreecommitdiff
path: root/gcc/cpperror.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cpperror.c')
-rw-r--r--gcc/cpperror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpperror.c b/gcc/cpperror.c
index e552989087c..982bcc33449 100644
--- a/gcc/cpperror.c
+++ b/gcc/cpperror.c
@@ -34,7 +34,7 @@ extern int errno;
#ifndef VMS
#ifndef HAVE_STRERROR
extern int sys_nerr;
-#if defined(bsd4_4) || defined(__NetBSD__)
+#if defined(bsd4_4)
extern const char *const sys_errlist[];
#else
extern char *sys_errlist[];