Module Name: src
Committed By: christos
Date: Sun Nov 4 22:28:16 UTC 2012
Modified Files:
src/sbin/reboot: reboot.c
Log Message:
include the headers that we need
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sbin/reboot/reboot.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/reboot/reboot.c
diff -u src/sbin/reboot/reboot.c:1.39 src/sbin/reboot/reboot.c:1.40
--- src/sbin/reboot/reboot.c:1.39 Sat Aug 27 14:46:19 2011
+++ src/sbin/reboot/reboot.c Sun Nov 4 17:28:16 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: reboot.c,v 1.39 2011/08/27 18:46:19 joerg Exp $ */
+/* $NetBSD: reboot.c,v 1.40 2012/11/04 22:28:16 christos Exp $ */
/*
* Copyright (c) 1980, 1986, 1993
@@ -40,7 +40,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19
#if 0
static char sccsid[] = "@(#)reboot.c 8.1 (Berkeley) 6/5/93";
#else
-__RCSID("$NetBSD: reboot.c,v 1.39 2011/08/27 18:46:19 joerg Exp $");
+__RCSID("$NetBSD: reboot.c,v 1.40 2012/11/04 22:28:16 christos Exp $");
#endif
#endif /* not lint */
@@ -56,6 +56,9 @@ __RCSID("$NetBSD: reboot.c,v 1.39 2011/0
#include <syslog.h>
#include <unistd.h>
#include <util.h>
+#ifdef SUPPORT_UTMPX
+#include <utmpx.h>
+#endif
__dead static void usage(void);