Skip to contentSkip to conversation

tools: hv: include string.h in hv_fcopy_daemon

PATCH New Olaf Hering 1 participant 1 message Jan 8, 2018 Hyper-V/Azure core and drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 tools/hv/hv_fcopy_daemon.c | 1 +
 1 file changed, 1 insertion(+)
tools/hv/hv_fcopy_daemon.c +1 -0
index 457a1521f32f..89ed6f325e45 100644
@@ -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>