Source-Changes-HG archive

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

[src/trunk]: src/lib/libutil strcmp needs string.h.



details:   https://anonhg.NetBSD.org/src/rev/c532b0803740
branches:  trunk
changeset: 543002:c532b0803740
user:      petrov <petrov%NetBSD.org@localhost>
date:      Fri Feb 14 04:03:27 2003 +0000

description:
strcmp needs string.h.

diffstat:

 lib/libutil/getbootfile.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r f5ceeaa1b0d1 -r c532b0803740 lib/libutil/getbootfile.c
--- a/lib/libutil/getbootfile.c Fri Feb 14 03:02:41 2003 +0000
+++ b/lib/libutil/getbootfile.c Fri Feb 14 04:03:27 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getbootfile.c,v 1.2 2002/09/12 14:42:15 christos Exp $ */
+/*     $NetBSD: getbootfile.c,v 1.3 2003/02/14 04:03:27 petrov Exp $   */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -38,12 +38,13 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: getbootfile.c,v 1.2 2002/09/12 14:42:15 christos Exp $");
+__RCSID("$NetBSD: getbootfile.c,v 1.3 2003/02/14 04:03:27 petrov Exp $");
 #endif
 
 #include <sys/param.h>
 #include <sys/sysctl.h>
 #include <machine/cpu.h>
+#include <string.h>
 #include <paths.h>
 #include <util.h>
 



Home | Main Index | Thread Index | Old Index