Use sys/libkern.h not /usr/include/string.h

This commit is contained in:
Peter Wemm 2002-09-06 06:04:36 +00:00
parent 4f0da50ce2
commit 105d189b78
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103000
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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