aboutsummaryrefslogtreecommitdiff
path: root/gcc/protoize.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-10-20 16:20:09 -0700
committerJim Wilson <wilson@gcc.gnu.org>1993-10-20 16:20:09 -0700
commit5d672cd7e639149aa1054481436a127420177d17 (patch)
tree9296488ddb0b1bd1a85ab4068098c7dcb8fc6e78 /gcc/protoize.c
parent9bbd109176af4f1f879ea303f6c04d07f8a107cb (diff)
downloadgcc-5d672cd7e639149aa1054481436a127420177d17.zip
gcc-5d672cd7e639149aa1054481436a127420177d17.tar.gz
gcc-5d672cd7e639149aa1054481436a127420177d17.tar.bz2
(sys_errlist): Conditionalize declaration for BSD 4.4.
From-SVN: r5843
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r--gcc/protoize.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index 48c7262..5e42fba 100644
--- a/gcc/protoize.c
+++ b/gcc/protoize.c
@@ -80,7 +80,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef getopt
extern int errno;
+#if defined(bsd4_4)
+extern const char *const sys_errlist[];
+#else
extern char *sys_errlist[];
+#endif
extern char *version_string;
/* Systems which are compatible only with POSIX 1003.1-1988 (but *not*