diff options
Diffstat (limited to 'sys/lib/libkern/strncpy.c')
-rw-r--r-- | sys/lib/libkern/strncpy.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/lib/libkern/strncpy.c b/sys/lib/libkern/strncpy.c index 93be91a529b..5279942a2be 100644 --- a/sys/lib/libkern/strncpy.c +++ b/sys/lib/libkern/strncpy.c @@ -36,10 +36,14 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)strncpy.c 5.6 (Berkeley) 1/26/91";*/ -static char *rcsid = "$Id: strncpy.c,v 1.1.1.1 1995/10/18 08:52:50 deraadt Exp $"; +static char *rcsid = "$Id: strncpy.c,v 1.2 1996/05/01 15:18:53 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ +#ifndef _KERNEL #include <string.h> +#else +#include <lib/libkern/libkern.h> +#endif /* * Copy src to dst, truncating or null-padding to always copy n bytes. |