summaryrefslogtreecommitdiffstats
path: root/lib/libutil
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1998-10-09 00:39:09 +0000
committerjkh <jkh@FreeBSD.org>1998-10-09 00:39:09 +0000
commitafb7d7e829ec2c519377c2e71e88bf2c8223a5c2 (patch)
tree8ea8f24c0cedd65d8165b4a390a31e8bb4ffaed5 /lib/libutil
parentd8d7e646f416a5174e264ad88911d935fa412354 (diff)
downloadFreeBSD-src-afb7d7e829ec2c519377c2e71e88bf2c8223a5c2.zip
FreeBSD-src-afb7d7e829ec2c519377c2e71e88bf2c8223a5c2.tar.gz
All these have to include stdio.h now.
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/_secure_path.c3
-rw-r--r--lib/libutil/login_tty.c3
-rw-r--r--lib/libutil/logout.c3
-rw-r--r--lib/libutil/logwtmp.c3
4 files changed, 8 insertions, 4 deletions
diff --git a/lib/libutil/_secure_path.c b/lib/libutil/_secure_path.c
index 01c29bf..4fd1fc5 100644
--- a/lib/libutil/_secure_path.c
+++ b/lib/libutil/_secure_path.c
@@ -18,12 +18,13 @@
* 5. Modifications may be freely made to this file providing the above
* conditions are met.
*
- * $Id: _secure_path.c,v 1.1 1997/05/10 18:55:37 davidn Exp $
+ * $Id: _secure_path.c,v 1.2 1997/05/15 06:06:32 davidn Exp $
*/
#include <sys/types.h>
#include <sys/stat.h>
+#include <stdio.h>
#include <syslog.h>
#include <errno.h>
#include <libutil.h>
diff --git a/lib/libutil/login_tty.c b/lib/libutil/login_tty.c
index 06072f0..d1fe3cf 100644
--- a/lib/libutil/login_tty.c
+++ b/lib/libutil/login_tty.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)login_tty.c 8.1 (Berkeley) 6/4/93";
#else
static const char rcsid[] =
- "$Id$";
+ "$Id: login_tty.c,v 1.3 1997/08/13 20:42:17 steve Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -45,6 +45,7 @@ static const char rcsid[] =
#include <unistd.h>
#include <stdlib.h>
+#include <stdio.h>
#include <libutil.h>
int
diff --git a/lib/libutil/logout.c b/lib/libutil/logout.c
index 0d3bf05..10a11c2 100644
--- a/lib/libutil/logout.c
+++ b/lib/libutil/logout.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)logout.c 8.1 (Berkeley) 6/4/93";
#else
static const char rcsid[] =
- "$Id$";
+ "$Id: logout.c,v 1.3 1997/08/13 20:42:17 steve Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -47,6 +47,7 @@ static const char rcsid[] =
#include <utmp.h>
#include <unistd.h>
#include <stdlib.h>
+#include <stdio.h>
#include <string.h>
#include <libutil.h>
diff --git a/lib/libutil/logwtmp.c b/lib/libutil/logwtmp.c
index 531b715..ee07564 100644
--- a/lib/libutil/logwtmp.c
+++ b/lib/libutil/logwtmp.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)logwtmp.c 8.1 (Berkeley) 6/4/93";
#else
static const char rcsid[] =
- "$Id: logwtmp.c,v 1.5 1997/09/04 22:38:59 pst Exp $";
+ "$Id: logwtmp.c,v 1.6 1998/06/01 08:46:53 amurai Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -47,6 +47,7 @@ static const char rcsid[] =
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <stdio.h>
#include <libutil.h>
#include <netdb.h>
#include <string.h>
OpenPOWER on IntegriCloud