Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/utmp_update Include string.h so this application com...



details:   https://anonhg.NetBSD.org/src/rev/f6ef60273f7e
branches:  trunk
changeset: 534885:f6ef60273f7e
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Aug 05 15:36:51 2002 +0000

description:
Include string.h so this application compiles.

diffstat:

 libexec/utmp_update/utmp_update.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 70546b2bd596 -r f6ef60273f7e libexec/utmp_update/utmp_update.c
--- a/libexec/utmp_update/utmp_update.c Mon Aug 05 13:02:40 2002 +0000
+++ b/libexec/utmp_update/utmp_update.c Mon Aug 05 15:36:51 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: utmp_update.c,v 1.1 2002/07/28 22:38:51 christos Exp $  */
+/*     $NetBSD: utmp_update.c,v 1.2 2002/08/05 15:36:51 jmcneill Exp $  */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -44,6 +44,7 @@
 #include <pwd.h>
 #include <utmpx.h>
 #include <stdlib.h>
+#include <string.h>
 #include <unistd.h>
 
 int main(int, char *[]);



Home | Main Index | Thread Index | Old Index