summaryrefslogtreecommitdiffstats
path: root/sys/lib
diff options
context:
space:
mode:
authorpefo <pefo@openbsd.org>2004-09-23 12:55:10 +0000
committerpefo <pefo@openbsd.org>2004-09-23 12:55:10 +0000
commit9094ec99a2a469b2bf2950b6580f8e185b8c58ff (patch)
treeb87fab5ef5e3ee7f71ffce329c8cbf1567a7c592 /sys/lib
parentWhen doing relocs to .rodata this section must be RW protected. (diff)
downloadwireguard-openbsd-9094ec99a2a469b2bf2950b6580f8e185b8c58ff.tar.xz
wireguard-openbsd-9094ec99a2a469b2bf2950b6580f8e185b8c58ff.zip
make it compile with _STANDALONE, ok deraadt@
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/libkern/bzero.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libkern/bzero.c b/sys/lib/libkern/bzero.c
index d3d83786d38..9b432419ba5 100644
--- a/sys/lib/libkern/bzero.c
+++ b/sys/lib/libkern/bzero.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bzero.c,v 1.5 2004/08/07 00:38:32 deraadt Exp $ */
+/* $OpenBSD: bzero.c,v 1.6 2004/09/23 12:55:10 pefo Exp $ */
/*
* Copyright (c) 1987 Regents of the University of California.
@@ -31,10 +31,10 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)bzero.c 5.7 (Berkeley) 2/24/91";*/
-static char *rcsid = "$OpenBSD: bzero.c,v 1.5 2004/08/07 00:38:32 deraadt Exp $";
+static char *rcsid = "$OpenBSD: bzero.c,v 1.6 2004/09/23 12:55:10 pefo Exp $";
#endif /* LIBC_SCCS and not lint */
-#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>