summaryrefslogtreecommitdiffstats
path: root/tools/hv
diff options
context:
space:
mode:
authorOlaf Hering2018-03-05 06:17:15 +0100
committerGreg Kroah-Hartman2018-03-06 18:57:16 +0100
commitaba8a53264963514917e462f3fbbb66b3de79951 (patch)
tree316d71ad580264594761397a3ffeb24538848af4 /tools/hv
parenttools: hv: fix compiler warnings about major/target_fname (diff)
downloadkernel-qcow2-linux-aba8a53264963514917e462f3fbbb66b3de79951.tar.gz
kernel-qcow2-linux-aba8a53264963514917e462f3fbbb66b3de79951.tar.xz
kernel-qcow2-linux-aba8a53264963514917e462f3fbbb66b3de79951.zip
tools: hv: include string.h in hv_fcopy_daemon
The usage of strchr requires inclusion of string.h. Fixes: 0c38cda64aec ("tools: hv: remove unnecessary header files and netlink related code") Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/hv')
-rw-r--r--tools/hv/hv_fcopy_daemon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/hv/hv_fcopy_daemon.c b/tools/hv/hv_fcopy_daemon.c
index 785f4e95148c..d78aed86af09 100644
--- a/tools/hv/hv_fcopy_daemon.c
+++ b/tools/hv/hv_fcopy_daemon.c
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#include <string.h>
#include <errno.h>
#include <linux/hyperv.h>
#include <linux/limits.h>