Messages in this thread Patch in this message | | | From | kys@exchange ... | Subject | [PATCH 05/12] tools: hv: include string.h in hv_fcopy_daemon | Date | Sun, 11 Feb 2018 17:33:13 -0700 |
| |
From: Olaf Hering <olaf@aepfle.de>
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> --- tools/hv/hv_fcopy_daemon.c | 1 + 1 file changed, 1 insertion(+)
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> -- 2.15.1
| |