Browse Source

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>
Olaf Hering 7 years ago
parent
commit
aba8a53264
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/hv/hv_fcopy_daemon.c

+ 1 - 0
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>