diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-09-11 19:47:36 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-09-11 19:47:36 +0000 |
commit | 4a521d00e4bc2d99852ab4f7387e7dd278dd66be (patch) | |
tree | 5e43e9dcc6c0ced21815cea8ef9d0a88a0b0b4a5 /usr.sbin | |
parent | 2bd4e50af742cd203022a0588b68a2f5cbe561a8 (diff) |
need string.h
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ypserv/mknetid/mknetid.c | 5 | ||||
-rw-r--r-- | usr.sbin/ypserv/stdethers/stdethers.c | 5 | ||||
-rw-r--r-- | usr.sbin/ypserv/stdhosts/stdhosts.c | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/usr.sbin/ypserv/mknetid/mknetid.c b/usr.sbin/ypserv/mknetid/mknetid.c index 46b859db8bc..3ff37969e54 100644 --- a/usr.sbin/ypserv/mknetid/mknetid.c +++ b/usr.sbin/ypserv/mknetid/mknetid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mknetid.c,v 1.3 1997/01/15 23:44:33 millert Exp $ */ +/* $OpenBSD: mknetid.c,v 1.4 1997/09/11 19:47:30 deraadt Exp $ */ /* * Copyright (c) 1996 Mats O Jansson <moj@stacken.kth.se> @@ -32,13 +32,14 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: mknetid.c,v 1.3 1997/01/15 23:44:33 millert Exp $"; +static char rcsid[] = "$OpenBSD: mknetid.c,v 1.4 1997/09/11 19:47:30 deraadt Exp $"; #endif #include <sys/param.h> #include <stdio.h> #include <unistd.h> #include <ctype.h> +#include <string.h> #include <pwd.h> #include <grp.h> #include <netdb.h> diff --git a/usr.sbin/ypserv/stdethers/stdethers.c b/usr.sbin/ypserv/stdethers/stdethers.c index f0fc5ec7541..5bf8ca8e34b 100644 --- a/usr.sbin/ypserv/stdethers/stdethers.c +++ b/usr.sbin/ypserv/stdethers/stdethers.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stdethers.c,v 1.2 1996/05/30 09:53:12 deraadt Exp $ */ +/* $OpenBSD: stdethers.c,v 1.3 1997/09/11 19:47:33 deraadt Exp $ */ /* * Copyright (c) 1995 Mats O Jansson <moj@stacken.kth.se> @@ -32,7 +32,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: stdethers.c,v 1.2 1996/05/30 09:53:12 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: stdethers.c,v 1.3 1997/09/11 19:47:33 deraadt Exp $"; #endif #include <sys/types.h> @@ -41,6 +41,7 @@ static char rcsid[] = "$OpenBSD: stdethers.c,v 1.2 1996/05/30 09:53:12 deraadt E #include <netinet/in.h> #include <netinet/if_ether.h> #include <stdio.h> +#include <string.h> #include <ctype.h> char *ProgramName = "stdethers"; diff --git a/usr.sbin/ypserv/stdhosts/stdhosts.c b/usr.sbin/ypserv/stdhosts/stdhosts.c index fb76efd0191..69da225b1c9 100644 --- a/usr.sbin/ypserv/stdhosts/stdhosts.c +++ b/usr.sbin/ypserv/stdhosts/stdhosts.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stdhosts.c,v 1.3 1996/06/26 21:26:36 maja Exp $ */ +/* $OpenBSD: stdhosts.c,v 1.4 1997/09/11 19:47:35 deraadt Exp $ */ /* * Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se> @@ -32,7 +32,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: stdhosts.c,v 1.3 1996/06/26 21:26:36 maja Exp $"; +static char rcsid[] = "$OpenBSD: stdhosts.c,v 1.4 1997/09/11 19:47:35 deraadt Exp $"; #endif #include <sys/types.h> @@ -40,6 +40,7 @@ static char rcsid[] = "$OpenBSD: stdhosts.c,v 1.3 1996/06/26 21:26:36 maja Exp $ #include <netinet/in.h> #include <arpa/inet.h> #include <stdio.h> +#include <string.h> #include <ctype.h> static int read_line(fp, buf, size) |