summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/_strerror.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/generic/_strerror.c b/sysdeps/generic/_strerror.c
index 72ebb216bf..71fabe7695 100644
--- a/sysdeps/generic/_strerror.c
+++ b/sysdeps/generic/_strerror.c
@@ -31,6 +31,9 @@ _strerror_internal (errnum, buf, buflen)
      char *buf;
      size_t buflen;
 {
+  extern const char *const _sys_errlist[];
+  extern const int _sys_nerr;
+
   if (errnum < 0 || errnum > _sys_nerr)
     {
       int len = __snprintf (buf, buflen, _("Unknown error %d"), errnum);