summaryrefslogtreecommitdiff
path: root/lib/libutil
diff options
context:
space:
mode:
authorpetrov <petrov@NetBSD.org>2003-02-14 04:03:27 +0000
committerpetrov <petrov@NetBSD.org>2003-02-14 04:03:27 +0000
commit2bb9ea7350c75a0349397aa99dea2d6108b0dd4e (patch)
tree917af3ffc34e1abea5e210e3bf1e126e3d0f0105 /lib/libutil
parent850cd095322e0a7bb7d14d835041a4432b4622fe (diff)
strcmp needs string.h.
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/getbootfile.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libutil/getbootfile.c b/lib/libutil/getbootfile.c
index c4ef8bff0cc..62c72c5d38a 100644
--- a/lib/libutil/getbootfile.c
+++ b/lib/libutil/getbootfile.c
@@ -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>