summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/strcat.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-01 15:18:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-01 15:18:54 +0000
commit469df96ae09cb8b8700f8167e153694ffa5a0793 (patch)
tree3ecb78d3e22bba035ea065708cfcba3b6ebe400c /sys/lib/libkern/strcat.c
parenta637b83cfb9dcc756a7cfe64f933a94bf3afad4c (diff)
switch on _KERNEL to pull in correct headers
Diffstat (limited to 'sys/lib/libkern/strcat.c')
-rw-r--r--sys/lib/libkern/strcat.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/lib/libkern/strcat.c b/sys/lib/libkern/strcat.c
index 069bd1fa35b..a63f2209bf2 100644
--- a/sys/lib/libkern/strcat.c
+++ b/sys/lib/libkern/strcat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strcat.c,v 1.2 1996/04/19 16:09:37 niklas Exp $ */
+/* $OpenBSD: strcat.c,v 1.3 1996/05/01 15:18:49 deraadt Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
@@ -35,10 +35,14 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strcat.c 5.6 (Berkeley) 2/24/91";*/
-static char *rcsid = "$OpenBSD: strcat.c,v 1.2 1996/04/19 16:09:37 niklas Exp $";
+static char *rcsid = "$OpenBSD: strcat.c,v 1.3 1996/05/01 15:18:49 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
+#ifndef _KERNEL
#include <string.h>
+#else
+#include <lib/libkern/libkern.h>
+#endif
char *
strcat(s, append)