Source-Changes-HG archive

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

[src/nathanw_sa]: src/lib/libc/gen Add missing <stdlib.h> -- must have been a...



details:   https://anonhg.NetBSD.org/src/rev/f0678b129ffe
branches:  nathanw_sa
changeset: 506111:f0678b129ffe
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Aug 02 23:30:35 2002 +0000

description:
Add missing <stdlib.h> -- must have been a merge botch.

diffstat:

 lib/libc/gen/utmpx.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 02ab7b2e6944 -r f0678b129ffe lib/libc/gen/utmpx.c
--- a/lib/libc/gen/utmpx.c      Fri Aug 02 22:20:48 2002 +0000
+++ b/lib/libc/gen/utmpx.c      Fri Aug 02 23:30:35 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: utmpx.c,v 1.3.2.4 2002/08/01 03:28:12 nathanw Exp $     */
+/*     $NetBSD: utmpx.c,v 1.3.2.5 2002/08/02 23:30:35 thorpej Exp $     */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 #include <sys/cdefs.h>
 
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: utmpx.c,v 1.3.2.4 2002/08/01 03:28:12 nathanw Exp $");
+__RCSID("$NetBSD: utmpx.c,v 1.3.2.5 2002/08/02 23:30:35 thorpej Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/types.h>
@@ -49,6 +49,7 @@
 #include <sys/stat.h>
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <vis.h>
 #include <utmp.h>



Home | Main Index | Thread Index | Old Index