about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/errlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/errlist.c')
-rw-r--r--sysdeps/mach/hurd/errlist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/errlist.c b/sysdeps/mach/hurd/errlist.c
index f1ca0dc3ae..8e18f41f22 100644
--- a/sysdeps/mach/hurd/errlist.c
+++ b/sysdeps/mach/hurd/errlist.c
@@ -26,3 +26,7 @@
 #define ERR_REMAP(n) (err_get_code (n))
 
 #include <sysdeps/gnu/errlist.c>
+
+/* Oblige programs that use sys_nerr, but don't use sys_errlist. */
+weak_alias (_hurd_nerr, sys_nerr)
+weak_alias (_hurd_nerr, _sys_nerr)