about summary refs log tree commit diff
path: root/inet/getnetbyad.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/getnetbyad.c')
-rw-r--r--inet/getnetbyad.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/inet/getnetbyad.c b/inet/getnetbyad.c
index e355ca792b..88a4b66077 100644
--- a/inet/getnetbyad.c
+++ b/inet/getnetbyad.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 BUFLEN		1024
+#define NEED_H_ERRNO	1
 
 #include "../nss/getXXbyYY.c"