about summary refs log tree commit diff
path: root/inet/getnetent_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/getnetent_r.c')
-rw-r--r--inet/getnetent_r.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/inet/getnetent_r.c b/inet/getnetent_r.c
index 333bb4b529..b6ac85ce84 100644
--- a/inet/getnetent_r.c
+++ b/inet/getnetent_r.c
@@ -27,5 +27,6 @@ Boston, MA 02111-1307, USA.  */
 #define STAYOPEN	int stayopen
 #define STAYOPEN_VAR	stayopen
 #define NEED__RES	1
+#define NEED_H_ERRNO	1
 
 #include "../nss/getXXent_r.c"