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