[dpdk-stable] [PATCH 18.11 2/2] examples/vm_power: fix build because of missing include
Kevin Traynor
ktraynor at redhat.com
Tue Jun 16 17:17:13 CEST 2020
strlcpy() was used but the file was not including the
rte_string_fns.h header file.
Include the missing header file.
Fixes: d9219a9cac0f ("examples/power: fix string overflow")
Signed-off-by: Kevin Traynor <ktraynor at redhat.com>
---
examples/vm_power_manager/channel_monitor.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/examples/vm_power_manager/channel_monitor.c b/examples/vm_power_manager/channel_monitor.c
index 1d6d7ec6d5..7881c51885 100644
--- a/examples/vm_power_manager/channel_monitor.c
+++ b/examples/vm_power_manager/channel_monitor.c
@@ -31,4 +31,5 @@
#include <rte_pmd_i40e.h>
#endif
+#include <rte_string_fns.h>
#include <libvirt/libvirt.h>
--
2.21.3
More information about the stable
mailing list