Module Name: src Committed By: christos Date: Sun Nov 4 22:20:03 UTC 2012
Modified Files: src/sbin/init: init.c Log Message: include the needed headers To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104 src/sbin/init/init.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/init/init.c diff -u src/sbin/init/init.c:1.103 src/sbin/init/init.c:1.104 --- src/sbin/init/init.c:1.103 Tue Mar 20 14:50:31 2012 +++ src/sbin/init/init.c Sun Nov 4 17:20:03 2012 @@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1991, 19 #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 @@ __RCSID("$NetBSD: init.c,v 1.103 2012/03 #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>