Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/init include the needed headers
details: https://anonhg.NetBSD.org/src/rev/a115c24d0575
branches: trunk
changeset: 782508:a115c24d0575
user: christos <christos%NetBSD.org@localhost>
date: Sun Nov 04 22:20:03 2012 +0000
description:
include the needed headers
diffstat:
sbin/init/init.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r c4c92dd57d78 -r a115c24d0575 sbin/init/init.c
--- a/sbin/init/init.c Sun Nov 04 21:57:40 2012 +0000
+++ b/sbin/init/init.c Sun Nov 04 22:20:03 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: init.c,v 1.103 2012/03/20 18:50:31 matt Exp $ */
+/* $NetBSD: init.c,v 1.104 2012/11/04 22:20:03 christos Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)init.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: init.c,v 1.103 2012/03/20 18:50:31 matt Exp $");
+__RCSID("$NetBSD: init.c,v 1.104 2012/11/04 22:20:03 christos Exp $");
#endif
#endif /* not lint */
@@ -68,6 +68,12 @@
#include <util.h>
#include <paths.h>
#include <err.h>
+#ifdef SUPPORT_UTMP
+#include <utmp.h>
+#endif
+#ifdef SUPPORT_UTMPX
+#include <utmpx.h>
+#endif
#include <stdarg.h>
Home |
Main Index |
Thread Index |
Old Index