Fix missing includes of <string.h>, to silence some compiler warnings.

Submitted by:	Pawel Worach
This commit is contained in:
Ed Schouten 2009-06-14 12:42:06 +00:00
parent 44549f1334
commit 953e4134b5
7 changed files with 7 additions and 2 deletions

View File

@ -51,6 +51,7 @@ static char sccsid[] = "@(#)kvm_hp300.c 8.1 (Berkeley) 6/4/93";
#include <sys/stat.h>
#include <sys/mman.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <nlist.h>
#include <kvm.h>

View File

@ -52,6 +52,7 @@ __FBSDID("$FreeBSD$");
#include <limits.h>
#include <kvm.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "kvm_private.h"

View File

@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$");
#include <kvm.h>
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include "kvm_private.h"

View File

@ -61,6 +61,7 @@ static char sccsid[] = "@(#)kvm_file.c 8.1 (Berkeley) 6/4/93";
#include <limits.h>
#include <ndbm.h>
#include <paths.h>
#include <stdlib.h>
#include "kvm_private.h"

View File

@ -51,6 +51,7 @@ static char sccsid[] = "@(#)kvm_hp300.c 8.1 (Berkeley) 6/4/93";
#include <sys/stat.h>
#include <sys/mman.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <nlist.h>
#include <kvm.h>

View File

@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$");
#include <sys/mman.h>
#include <sys/fnv_hash.h>
#include <stdlib.h>
#include <strings.h>
#include <string.h>
#include <unistd.h>
#include <nlist.h>
#include <kvm.h>

View File

@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$");
#include <sys/mman.h>
#include <sys/fnv_hash.h>
#include <stdlib.h>
#include <strings.h>
#include <string.h>
#include <unistd.h>
#include <nlist.h>
#include <kvm.h>