Include missing header files which define functions for which gcc has

builtints (e.g., exit, strcmp).
This commit is contained in:
Dima Dorfman 2001-06-24 20:25:23 +00:00
parent c869717158
commit 2694efd413
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78720
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>