Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/reboot include the headers that we need
details: https://anonhg.NetBSD.org/src/rev/5f24deed257b
branches: trunk
changeset: 782511:5f24deed257b
user: christos <christos%NetBSD.org@localhost>
date: Sun Nov 04 22:28:16 2012 +0000
description:
include the headers that we need
diffstat:
sbin/reboot/reboot.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r ae8a6da177b8 -r 5f24deed257b sbin/reboot/reboot.c
--- a/sbin/reboot/reboot.c Sun Nov 04 22:26:04 2012 +0000
+++ b/sbin/reboot/reboot.c Sun Nov 04 22:28:16 2012 +0000
@@ -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 @@
#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 @@
#include <syslog.h>
#include <unistd.h>
#include <util.h>
+#ifdef SUPPORT_UTMPX
+#include <utmpx.h>
+#endif
__dead static void usage(void);
Home |
Main Index |
Thread Index |
Old Index