diff options
author | Roland McGrath <roland@gnu.org> | 1994-10-24 19:06:49 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-10-24 19:06:49 +0000 |
commit | 1aff3c6003d54e97f836aa5af91d8044d6964a80 (patch) | |
tree | 8bef30e224c891f27534a96fc3376014d7e89712 | |
parent | 8044dc803f4b20a80b4eccaad73387303d41376a (diff) |
Include <sys/param.h> before <net/if.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 fa79c22cb7..f3051744c2 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> +#include <sys/param.h> /* Ultrix needs before net/if --roland@gnu */ #include <net/if.h> #include <sys/ioctl.h> /* Order of following two #includes reversed by roland@gnu */ diff --git a/sunrpc/pm_getmaps.c b/sunrpc/pm_getmaps.c index e4a9c49361..b7c7aec8ce 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> +#include <sys/param.h> /* Ultrix needs before net/if --roland@gnu */ #include <net/if.h> #include <sys/ioctl.h> #define NAMELEN 255 diff --git a/sunrpc/pm_getport.c b/sunrpc/pm_getport.c index 77b9cf743a..b486ac7cdb 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> +#include <sys/param.h> /* Ultrix needs before net/if --roland@gnu */ #include <net/if.h> static struct timeval timeout = { 5, 0 }; diff --git a/sunrpc/pmap_rmt.c b/sunrpc/pmap_rmt.c index 46d5f0ec42..fc8d66c23c 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> +#include <sys/param.h> /* Ultrix needs before net/if --roland@gnu */ #include <net/if.h> #include <sys/ioctl.h> #include <arpa/inet.h> |