summaryrefslogtreecommitdiff
path: root/lib/libc/string/strcmp.c
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1996-04-18 02:30:07 +0000
committercgd <cgd@NetBSD.org>1996-04-18 02:30:07 +0000
commit57da02bd77ec84addf9bb089582c063781452f4c (patch)
treed9202c81a506ff656f933e94ad7012df6eacde44 /lib/libc/string/strcmp.c
parent4a134a078027a5e66b0caebb34c370f5b1e0f6aa (diff)
don't include user-land headers compiling for libkern. (sync with libkern.)
Diffstat (limited to 'lib/libc/string/strcmp.c')
-rw-r--r--lib/libc/string/strcmp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/string/strcmp.c b/lib/libc/string/strcmp.c
index 5c77270532b..47a0bad11d9 100644
--- a/lib/libc/string/strcmp.c
+++ b/lib/libc/string/strcmp.c
@@ -36,10 +36,14 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strcmp.c 5.5 (Berkeley) 1/26/91";*/
-static char *rcsid = "$Id: strcmp.c,v 1.4 1995/06/15 00:07:40 jtc Exp $";
+static char *rcsid = "$Id: strcmp.c,v 1.5 1996/04/18 02:30:13 cgd Exp $";
#endif /* LIBC_SCCS and not lint */
+#ifndef _KERNEL
#include <string.h>
+#else
+#include <lib/libkern/libkern.h>
+#endif
/*
* Compare strings.