diff options
author | jhb <jhb@FreeBSD.org> | 2002-08-22 20:08:07 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-08-22 20:08:07 +0000 |
commit | 7c4d6e48338b051fe9fa9ff4a0705ab1ce42cdb1 (patch) | |
tree | 6120562cdf5bfac9e1f2c4c9997aca24ef1930b2 /sys/libkern/strcpy.c | |
parent | 4fd36731e0f32bd089f6de3bfb1e433b9aa9fbf2 (diff) | |
download | FreeBSD-src-7c4d6e48338b051fe9fa9ff4a0705ab1ce42cdb1.zip FreeBSD-src-7c4d6e48338b051fe9fa9ff4a0705ab1ce42cdb1.tar.gz |
Include sys/libkern.h for the kernel prototypes of these libkern functions
instead of including the userland string.h header.
Prompted by: breakage with old string.h from recent machine/types.h fix
Approved by: peter (in principle)
Diffstat (limited to 'sys/libkern/strcpy.c')
-rw-r--r-- | sys/libkern/strcpy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/libkern/strcpy.c b/sys/libkern/strcpy.c index cf6bd4f..3aed2d0 100644 --- a/sys/libkern/strcpy.c +++ b/sys/libkern/strcpy.c @@ -33,7 +33,7 @@ * $FreeBSD$ */ -#include <string.h> +#include <sys/libkern.h> char * strcpy(to, from) |