diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1993-10-20 16:20:09 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1993-10-20 16:20:09 -0700 |
commit | 5d672cd7e639149aa1054481436a127420177d17 (patch) | |
tree | 9296488ddb0b1bd1a85ab4068098c7dcb8fc6e78 /gcc/protoize.c | |
parent | 9bbd109176af4f1f879ea303f6c04d07f8a107cb (diff) | |
download | gcc-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.c | 4 |
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* |