summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-06-14 12:42:06 +0000
committered <ed@FreeBSD.org>2009-06-14 12:42:06 +0000
commit68fd93f22d7fc3499639584012b7e32ded4e245b (patch)
tree9a57df0abd10451d049a7bc39149404de47a4351 /lib
parent1ce6fee7c0b7335e65c9f1c3ee157eba4d283115 (diff)
downloadFreeBSD-src-68fd93f22d7fc3499639584012b7e32ded4e245b.zip
FreeBSD-src-68fd93f22d7fc3499639584012b7e32ded4e245b.tar.gz
Fix missing includes of <string.h>, to silence some compiler warnings.
Submitted by: Pawel Worach
Diffstat (limited to 'lib')
-rw-r--r--lib/libkvm/kvm_amd64.c1
-rw-r--r--lib/libkvm/kvm_arm.c1
-rw-r--r--lib/libkvm/kvm_cptime.c1
-rw-r--r--lib/libkvm/kvm_file.c1
-rw-r--r--lib/libkvm/kvm_i386.c1
-rw-r--r--lib/libkvm/kvm_minidump_amd64.c2
-rw-r--r--lib/libkvm/kvm_minidump_i386.c2
7 files changed, 7 insertions, 2 deletions
diff --git a/lib/libkvm/kvm_amd64.c b/lib/libkvm/kvm_amd64.c
index 4624479..36b353b 100644
--- a/lib/libkvm/kvm_amd64.c
+++ b/lib/libkvm/kvm_amd64.c
@@ -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>
diff --git a/lib/libkvm/kvm_arm.c b/lib/libkvm/kvm_arm.c
index 489cfe0..daef795 100644
--- a/lib/libkvm/kvm_arm.c
+++ b/lib/libkvm/kvm_arm.c
@@ -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"
diff --git a/lib/libkvm/kvm_cptime.c b/lib/libkvm/kvm_cptime.c
index 53dcdf3..5b7eefa 100644
--- a/lib/libkvm/kvm_cptime.c
+++ b/lib/libkvm/kvm_cptime.c
@@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$");
#include <kvm.h>
#include <limits.h>
#include <stdlib.h>
+#include <string.h>
#include "kvm_private.h"
diff --git a/lib/libkvm/kvm_file.c b/lib/libkvm/kvm_file.c
index 024ccb2..4d41bfc 100644
--- a/lib/libkvm/kvm_file.c
+++ b/lib/libkvm/kvm_file.c
@@ -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"
diff --git a/lib/libkvm/kvm_i386.c b/lib/libkvm/kvm_i386.c
index 523cfa6..303b4af 100644
--- a/lib/libkvm/kvm_i386.c
+++ b/lib/libkvm/kvm_i386.c
@@ -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>
diff --git a/lib/libkvm/kvm_minidump_amd64.c b/lib/libkvm/kvm_minidump_amd64.c
index f3ac855..8f48f98 100644
--- a/lib/libkvm/kvm_minidump_amd64.c
+++ b/lib/libkvm/kvm_minidump_amd64.c
@@ -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>
diff --git a/lib/libkvm/kvm_minidump_i386.c b/lib/libkvm/kvm_minidump_i386.c
index 8e074cb..0d31705 100644
--- a/lib/libkvm/kvm_minidump_i386.c
+++ b/lib/libkvm/kvm_minidump_i386.c
@@ -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>
OpenPOWER on IntegriCloud