about summary refs log tree commit diff
path: root/nss
diff options
context:
space:
mode:
Diffstat (limited to 'nss')
-rw-r--r--nss/getXXbyYY.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nss/getXXbyYY.c b/nss/getXXbyYY.c
index 7a52e9d3ba..1a8271ea6b 100644
--- a/nss/getXXbyYY.c
+++ b/nss/getXXbyYY.c
@@ -85,6 +85,9 @@ FUNCTION_NAME (ADD_PARAMS)
   int save;
 #ifdef NEED_H_ERRNO
   int h_errno_tmp = 0;
+# ifdef HANDLE_DIGITS_DOTS
+  int *const h_errnop = &h_errno_tmp;;
+# endif
 #endif
 
   /* Get lock.  */