Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/timed/timed include utmpx.h if needed
details: https://anonhg.NetBSD.org/src/rev/78084f28bb59
branches: trunk
changeset: 782514:78084f28bb59
user: christos <christos%NetBSD.org@localhost>
date: Sun Nov 04 22:36:58 2012 +0000
description:
include utmpx.h if needed
diffstat:
usr.sbin/timed/timed/measure.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 588a269939cb -r 78084f28bb59 usr.sbin/timed/timed/measure.c
--- a/usr.sbin/timed/timed/measure.c Sun Nov 04 22:32:01 2012 +0000
+++ b/usr.sbin/timed/timed/measure.c Sun Nov 04 22:36:58 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: measure.c,v 1.16 2007/02/04 21:17:01 cbiere Exp $ */
+/* $NetBSD: measure.c,v 1.17 2012/11/04 22:36:58 christos Exp $ */
/*-
* Copyright (c) 1985, 1993 The Regents of the University of California.
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)measure.c 8.2 (Berkeley) 3/26/95";
#else
-__RCSID("$NetBSD: measure.c,v 1.16 2007/02/04 21:17:01 cbiere Exp $");
+__RCSID("$NetBSD: measure.c,v 1.17 2012/11/04 22:36:58 christos Exp $");
#endif
#endif /* not lint */
@@ -43,6 +43,9 @@
#include <netinet/ip.h>
#include <netinet/ip_icmp.h>
#include <util.h>
+#ifdef SUPPORT_UTMPX
+#include <utmpx.h>
+#endif
#define MSEC_DAY (SECDAY*1000)
Home |
Main Index |
Thread Index |
Old Index