summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/strncmp.c
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>1998-06-27 01:21:03 +0000
committermickey <mickey@openbsd.org>1998-06-27 01:21:03 +0000
commit05ce469606850395c4337100a2b76a043e48a404 (patch)
tree352c73bbb126ed718a9f93dec55bd126f032f443 /sys/lib/libkern/strncmp.c
parenthmm, how could i miss this one? (diff)
downloadwireguard-openbsd-05ce469606850395c4337100a2b76a043e48a404.tar.xz
wireguard-openbsd-05ce469606850395c4337100a2b76a043e48a404.zip
there is no string.h in stand land
Diffstat (limited to 'sys/lib/libkern/strncmp.c')
-rw-r--r--sys/lib/libkern/strncmp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libkern/strncmp.c b/sys/lib/libkern/strncmp.c
index 6160b8cd7fc..bdfeb0220a0 100644
--- a/sys/lib/libkern/strncmp.c
+++ b/sys/lib/libkern/strncmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strncmp.c,v 1.5 1997/11/07 15:56:50 niklas Exp $ */
+/* $OpenBSD: strncmp.c,v 1.6 1998/06/27 01:21:10 mickey Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@@ -35,11 +35,11 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strncmp.c 5.6 (Berkeley) 1/26/91";*/
-static char *rcsid = "$OpenBSD: strncmp.c,v 1.5 1997/11/07 15:56:50 niklas Exp $";
+static char *rcsid = "$OpenBSD: strncmp.c,v 1.6 1998/06/27 01:21:10 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
-#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>