summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/bcmp.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-05-01 12:57:37 +0000
committerderaadt <deraadt@openbsd.org>1996-05-01 12:57:37 +0000
commit0cb9f57f48f50d812a2191862c250544a86d6d03 (patch)
tree27fb75106ca694c30a70c0f2b440c4fd15e99b45 /lib/libc/string/bcmp.c
parentfrom netbsd: (diff)
downloadwireguard-openbsd-0cb9f57f48f50d812a2191862c250544a86d6d03.tar.xz
wireguard-openbsd-0cb9f57f48f50d812a2191862c250544a86d6d03.zip
switch on _KERNEL to load proper include file
Diffstat (limited to 'lib/libc/string/bcmp.c')
-rw-r--r--lib/libc/string/bcmp.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/string/bcmp.c b/lib/libc/string/bcmp.c
index edd83c2686d..782aa1a30bb 100644
--- a/lib/libc/string/bcmp.c
+++ b/lib/libc/string/bcmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcmp.c,v 1.2 1996/03/09 02:42:54 niklas Exp $ */
+/* $OpenBSD: bcmp.c,v 1.3 1996/05/01 12:57:37 deraadt Exp $ */
/*
* Copyright (c) 1987 Regents of the University of California.
@@ -35,10 +35,14 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)bcmp.c 5.6 (Berkeley) 2/24/91";*/
-static char *rcsid = "$Id: bcmp.c,v 1.2 1996/03/09 02:42:54 niklas Exp $";
+static char *rcsid = "$Id: bcmp.c,v 1.3 1996/05/01 12:57:37 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
+#ifndef _KERNEL
#include <string.h>
+#else
+#include <lib/libkern/libkern.h>
+#endif
/*
* bcmp -- vax cmpc3 instruction