about summary refs log tree commit diff
path: root/inet/getnetbynm_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/getnetbynm_r.c')
-rw-r--r--inet/getnetbynm_r.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/inet/getnetbynm_r.c b/inet/getnetbynm_r.c
index ba395d63ac..6b87118838 100644
--- a/inet/getnetbynm_r.c
+++ b/inet/getnetbynm_r.c
@@ -26,5 +26,6 @@ Boston, MA 02111-1307, USA.  */
 #define ADD_PARAMS	const char *name
 #define ADD_VARIABLES	name
 #define NEED__RES	1
+#define NEED_H_ERRNO	1
 
 #include "../nss/getXXbyYY_r.c"