summary refs log tree commit diff
path: root/inet/herrno.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/herrno.c')
-rw-r--r--inet/herrno.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/inet/herrno.c b/inet/herrno.c
index 829f032e47..672a91d407 100644
--- a/inet/herrno.c
+++ b/inet/herrno.c
@@ -24,7 +24,7 @@
 /* We need to have the error status variable of the resolver
    accessible in the libc.  */
 
-__thread int h_errno;
-extern __thread int __libc_h_errno __attribute__ ((alias ("h_errno")))
+__thread int __h_errno;
+extern __thread int __libc_h_errno __attribute__ ((alias ("__h_errno")))
   attribute_hidden;
 #define h_errno __libc_h_errno