X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=libiberty%2Fstrerror.c;h=cc7692c1d6951ce7008b59d7f93766777d256547;hb=1ee1a363454d88a87ad2ade7530b2a7fb670021e;hp=0efadc3d65eb927dfc34d059318a965c5375008b;hpb=01f0fe5e0450edf168c1f612feb93cf588e4e7ea;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/strerror.c b/libiberty/strerror.c index 0efadc3d65..cc7692c1d6 100644 --- a/libiberty/strerror.c +++ b/libiberty/strerror.c @@ -299,7 +299,7 @@ static const struct error_info error_table[] = ENTRY(EREMCHG, "EREMCHG", "Remote address changed"), #endif #if defined (ELIBACC) - ENTRY(ELIBACC, "ELIBACC", "Can not access a needed shared library"), + ENTRY(ELIBACC, "ELIBACC", "Cannot access a needed shared library"), #endif #if defined (ELIBBAD) ENTRY(ELIBBAD, "ELIBBAD", "Accessing a corrupted shared library"), @@ -469,8 +469,13 @@ static const char **sys_errlist; #else + +#ifndef sys_nerr extern int sys_nerr; +#endif +#ifndef sys_errlist extern char *sys_errlist[]; +#endif #endif