about 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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/inet/herrno.c b/inet/herrno.c
index 4eac42ed46..c11c58baf9 100644
--- a/inet/herrno.c
+++ b/inet/herrno.c
@@ -17,6 +17,8 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <features.h>
+#include <netdb.h>
+#undef h_errno
 
 /* We need to have the error status variable of the resolver
    accessible in the libc.  */