[PATCH v2 19/22] net: Include string.h in net-legacy.h

Simon Glass sjg at chromium.org
Thu May 1 03:04:44 CEST 2025


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

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 include/net-legacy.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/net-legacy.h b/include/net-legacy.h
index 1f62ebff51d..a43ab9db589 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



More information about the U-Boot mailing list