Include missing header files which define functions for which gcc has

builtints (e.g., exit, strcmp).
This commit is contained in:
dd 2001-06-24 20:25:23 +00:00
parent cb7fc9479c
commit e3cab8dc0c
8 changed files with 15 additions and 0 deletions

View File

@ -34,6 +34,7 @@
#include <libutil.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <vis.h>

View File

@ -11,6 +11,8 @@
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <err.h>
#include <sys/types.h>
#include <sys/jail.h>

View File

@ -5,8 +5,14 @@
* Written by Steve Deering, Stanford University, February 1989.
*/
#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>

View File

@ -31,6 +31,7 @@ static const char rcsid[] =
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/param.h>

View File

@ -58,6 +58,7 @@ static const char rcsid[] =
#include <err.h>
#include <fstab.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

View File

@ -35,6 +35,8 @@
#include <libutil.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void
usage(void)

View File

@ -13,6 +13,7 @@ static const char rcsid[] =
#endif /* not lint */
#include <stdio.h>
#include <stdlib.h>
int
main(int argc, char **argv)

View File

@ -38,6 +38,7 @@ static const char rcsid[] =
#include <sys/socket.h>
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>