From 842907c6f8e6022f443175072e65bc516eb0973b Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 12 Jul 1996 02:01:17 +0000 Subject: * inet/getnetent_r.c: Define NEED_H_ERRNO. * inet/getnetbynm_r.c: Likewise. * inet/getnetent.c: Likewise. * inet/getnetbyad_r.c: Likewise. * inet/getnetbyad.c: Likewise. * inet/getnetbynm.c: Likewise. * sysdeps/generic/pselect.c: Include . * misc/sys/select.h: Include instead of for `struct timespec'. --- inet/getnetbyad.c | 1 + inet/getnetbyad_r.c | 1 + inet/getnetbynm.c | 1 + inet/getnetbynm_r.c | 1 + inet/getnetent.c | 1 + inet/getnetent_r.c | 1 + 6 files changed, 6 insertions(+) (limited to 'inet') diff --git a/inet/getnetbyad.c b/inet/getnetbyad.c index e355ca7..88a4b66 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" diff --git a/inet/getnetbyad_r.c b/inet/getnetbyad_r.c index 6a2b41b..8487152 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" diff --git a/inet/getnetbynm.c b/inet/getnetbynm.c index db1c7b0..febd807 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" diff --git a/inet/getnetbynm_r.c b/inet/getnetbynm_r.c index ba395d6..6b87118 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" 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" diff --git a/inet/getnetent_r.c b/inet/getnetent_r.c index 333bb4b..b6ac85c 100644 --- a/inet/getnetent_r.c +++ b/inet/getnetent_r.c @@ -27,5 +27,6 @@ Boston, MA 02111-1307, USA. */ #define STAYOPEN int stayopen #define STAYOPEN_VAR stayopen #define NEED__RES 1 +#define NEED_H_ERRNO 1 #include "../nss/getXXent_r.c" -- cgit v1.1