From: Simon Glass <s...@chromium.org>

This file uses memcpy() but does not include the header file. Update it.

Reviewed-by: Jerome Forissier <jerome.foriss...@linaro.org>
Signed-off-by: Simon Glass <s...@chromium.org>
---
Changes in v3:
- None
---
 include/net-legacy.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/net-legacy.h b/include/net-legacy.h
index 51780999a883..a7dbcec1506b 100644
--- a/include/net-legacy.h
+++ b/include/net-legacy.h
@@ -17,6 +17,7 @@
 #include <log.h>
 #include <time.h>
 #include <linux/if_ether.h>
+#include <linux/string.h>
 
 struct bd_info;
 struct cmd_tbl;
-- 
2.43.0

Reply via email to