diff options
author | peter <peter@FreeBSD.org> | 2002-09-06 06:04:36 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-09-06 06:04:36 +0000 |
commit | 9680f220d4acd260a446574e496f176621c7a18e (patch) | |
tree | bd9c6f61b97a5145fba2d8630ff18c0df7016749 | |
parent | 2bed7a35af87e9b4d91be3c4ec08533b124c72d8 (diff) | |
download | FreeBSD-src-9680f220d4acd260a446574e496f176621c7a18e.zip FreeBSD-src-9680f220d4acd260a446574e496f176621c7a18e.tar.gz |
Use sys/libkern.h not /usr/include/string.h
-rw-r--r-- | sys/libkern/strlcat.c | 2 | ||||
-rw-r--r-- | sys/libkern/strlcpy.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/libkern/strlcat.c b/sys/libkern/strlcat.c index 2c2fa56..ab61756 100644 --- a/sys/libkern/strlcat.c +++ b/sys/libkern/strlcat.c @@ -34,7 +34,7 @@ static char *rcsid = "$OpenBSD: strlcat.c,v 1.2 1999/06/17 16:28:58 millert Exp __FBSDID("$FreeBSD$"); #include <sys/types.h> -#include <string.h> +#include <sys/libkern.h> /* * Appends src to string dst of size siz (unlike strncat, siz is the diff --git a/sys/libkern/strlcpy.c b/sys/libkern/strlcpy.c index a8a6cb7..0eedeb1 100644 --- a/sys/libkern/strlcpy.c +++ b/sys/libkern/strlcpy.c @@ -34,7 +34,7 @@ static char *rcsid = "$OpenBSD: strlcpy.c,v 1.4 1999/05/01 18:56:41 millert Exp __FBSDID("$FreeBSD$"); #include <sys/types.h> -#include <string.h> +#include <sys/libkern.h> /* * Copy src to string dst of size siz. At most siz-1 characters |