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