diff options
author | 2004-09-23 12:55:10 +0000 | |
---|---|---|
committer | 2004-09-23 12:55:10 +0000 | |
commit | 9094ec99a2a469b2bf2950b6580f8e185b8c58ff (patch) | |
tree | b87fab5ef5e3ee7f71ffce329c8cbf1567a7c592 | |
parent | When doing relocs to .rodata this section must be RW protected. (diff) | |
download | wireguard-openbsd-9094ec99a2a469b2bf2950b6580f8e185b8c58ff.tar.xz wireguard-openbsd-9094ec99a2a469b2bf2950b6580f8e185b8c58ff.zip |
make it compile with _STANDALONE, ok deraadt@
-rw-r--r-- | sys/lib/libkern/bzero.c | 6 |
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> |