diff options
Diffstat (limited to 'inet')
-rw-r--r-- | inet/ether_hton.c | 1 | ||||
-rw-r--r-- | inet/ether_ntoh.c | 1 | ||||
-rw-r--r-- | inet/rexec.c | 6 |
3 files changed, 5 insertions, 3 deletions
diff --git a/inet/ether_hton.c b/inet/ether_hton.c index c4149a0..4e24fbb 100644 --- a/inet/ether_hton.c +++ b/inet/ether_hton.c @@ -19,6 +19,7 @@ #include <netinet/ether.h> #include <netinet/if_ether.h> +#include <string.h> #include "../nss/nsswitch.h" diff --git a/inet/ether_ntoh.c b/inet/ether_ntoh.c index 61bc0f1..93c2cf8 100644 --- a/inet/ether_ntoh.c +++ b/inet/ether_ntoh.c @@ -19,6 +19,7 @@ #include <netinet/ether.h> #include <netinet/if_ether.h> +#include <string.h> #include "../nss/nsswitch.h" diff --git a/inet/rexec.c b/inet/rexec.c index 7533410..f477247 100644 --- a/inet/rexec.c +++ b/inet/rexec.c @@ -43,12 +43,12 @@ static char sccsid[] = "@(#)rexec.c 8.1 (Berkeley) 6/4/93"; #include <stdio.h> #include <netdb.h> #include <errno.h> +#include <string.h> +#include <unistd.h> -extern errno; -char *index(); int rexecoptions; -char *getpass(), *getlogin(); +int rexec(ahost, rport, name, pass, cmd, fd2p) char **ahost; int rport; |