diff options
author | Roland McGrath <roland@gnu.org> | 1994-10-24 20:10:25 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-10-24 20:10:25 +0000 |
commit | 031dcb098957bbf2f4740beb371fb4b0f1c2be10 (patch) | |
tree | 35273f6692a9fa0159f280a436c16bfcbbee4a5a | |
parent | 1aff3c6003d54e97f836aa5af91d8044d6964a80 (diff) |
Undef _POSIX_SOURCE before including <sys/param.h>.
-rw-r--r-- | sunrpc/get_myaddr.c | 1 | ||||
-rw-r--r-- | sunrpc/pm_getmaps.c | 1 | ||||
-rw-r--r-- | sunrpc/pm_getport.c | 1 | ||||
-rw-r--r-- | sunrpc/pmap_rmt.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/sunrpc/get_myaddr.c b/sunrpc/get_myaddr.c index f3051744c2..9692f852f9 100644 --- a/sunrpc/get_myaddr.c +++ b/sunrpc/get_myaddr.c @@ -42,6 +42,7 @@ static char sccsid[] = "@(#)get_myaddress.c 1.4 87/08/11 Copyr 1984 Sun Micro"; #include <rpc/pmap_prot.h> #include <sys/socket.h> #include <stdio.h> +#undef _POSIX_SOURCE /* Ultrix <sys/param.h> needs --roland@gnu */ #include <sys/param.h> /* Ultrix needs before net/if --roland@gnu */ #include <net/if.h> #include <sys/ioctl.h> diff --git a/sunrpc/pm_getmaps.c b/sunrpc/pm_getmaps.c index b7c7aec8ce..c5f72af87b 100644 --- a/sunrpc/pm_getmaps.c +++ b/sunrpc/pm_getmaps.c @@ -46,6 +46,7 @@ static char sccsid[] = "@(#)pmap_getmaps.c 1.10 87/08/11 Copyr 1984 Sun Micro"; #include <netdb.h> #include <stdio.h> #include <errno.h> +#undef _POSIX_SOURCE /* Ultrix <sys/param.h> needs --roland@gnu */ #include <sys/param.h> /* Ultrix needs before net/if --roland@gnu */ #include <net/if.h> #include <sys/ioctl.h> diff --git a/sunrpc/pm_getport.c b/sunrpc/pm_getport.c index b486ac7cdb..2e1cc5aded 100644 --- a/sunrpc/pm_getport.c +++ b/sunrpc/pm_getport.c @@ -42,6 +42,7 @@ static char sccsid[] = "@(#)pmap_getport.c 1.9 87/08/11 Copyr 1984 Sun Micro"; #include <rpc/pmap_prot.h> #include <rpc/pmap_clnt.h> #include <sys/socket.h> +#undef _POSIX_SOURCE /* Ultrix <sys/param.h> needs --roland@gnu */ #include <sys/param.h> /* Ultrix needs before net/if --roland@gnu */ #include <net/if.h> diff --git a/sunrpc/pmap_rmt.c b/sunrpc/pmap_rmt.c index fc8d66c23c..32c829da2d 100644 --- a/sunrpc/pmap_rmt.c +++ b/sunrpc/pmap_rmt.c @@ -46,6 +46,7 @@ static char sccsid[] = "@(#)pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro"; #include <sys/socket.h> #include <stdio.h> #include <errno.h> +#undef _POSIX_SOURCE /* Ultrix <sys/param.h> needs --roland@gnu */ #include <sys/param.h> /* Ultrix needs before net/if --roland@gnu */ #include <net/if.h> #include <sys/ioctl.h> |