about summary refs log tree commit diff
path: root/include/netdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/netdb.h')
-rw-r--r--include/netdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netdb.h b/include/netdb.h
index c77c4036f4..d58fe5beda 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -19,6 +19,7 @@ __set_h_errno (int __err)
 # else
 #  undef  h_errno
 #  define __set_h_errno(x) (h_errno = (x))
+extern int h_errno;
 # endif	/* _LIBC_REENTRANT */
 
 libc_hidden_proto (hstrerror)