Messages in this thread Patch in this message | | | From | Olaf Hering <> | Subject | [PATCH] tools: hv: include string.h in hv_fcopy_daemon | Date | Mon, 8 Jan 2018 12:40:29 +0100 |
| |
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> --- 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 457a1521f32f..89ed6f325e45 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 <syslog.h>
| |