aboutsummaryrefslogtreecommitdiff
path: root/inet/getnetent.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/getnetent.c')
-rw-r--r--inet/getnetent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/inet/getnetent.c b/inet/getnetent.c
index 207a70e..cc9f691 100644
--- a/inet/getnetent.c
+++ b/inet/getnetent.c
@@ -22,5 +22,6 @@ Boston, MA 02111-1307, USA. */
#define LOOKUP_TYPE struct netent
#define GETFUNC_NAME getnetent
#define BUFLEN 1024
+#define NEED_H_ERRNO 1
#include "../nss/getXXent.c"