Module Name: src
Committed By: christos
Date: Sun Nov 4 21:35:45 UTC 2012
Modified Files:
src/libexec/rlogind: rlogind.c
Log Message:
if you are going to use utmpx.h, include it.
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/libexec/rlogind/rlogind.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/rlogind/rlogind.c
diff -u src/libexec/rlogind/rlogind.c:1.41 src/libexec/rlogind/rlogind.c:1.42
--- src/libexec/rlogind/rlogind.c:1.41 Fri Sep 16 12:13:17 2011
+++ src/libexec/rlogind/rlogind.c Sun Nov 4 16:35:45 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: rlogind.c,v 1.41 2011/09/16 16:13:17 plunky Exp $ */
+/* $NetBSD: rlogind.c,v 1.42 2012/11/04 21:35:45 christos Exp $ */
/*
* Copyright (C) 1998 WIDE Project.
@@ -69,7 +69,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 19
#if 0
static char sccsid[] = "@(#)rlogind.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: rlogind.c,v 1.41 2011/09/16 16:13:17 plunky Exp $");
+__RCSID("$NetBSD: rlogind.c,v 1.42 2012/11/04 21:35:45 christos Exp $");
#endif
#endif /* not lint */
@@ -104,6 +104,9 @@ __RCSID("$NetBSD: rlogind.c,v 1.41 2011/
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
+#ifdef SUPPORT_UTMPX
+#include <utmpx.h>
+#endif
#include <util.h>
#include "pathnames.h"