net: Include string.h in net-legacy.h
authorSimon Glass <sjg@chromium.org>
Thu, 15 May 2025 23:31:34 +0000 (17:31 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 29 May 2025 14:30:25 +0000 (08:30 -0600)
This file uses memcpy() but does not include the header file. Update it.

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
include/net-legacy.h

index 5178099..a7dbcec 100644 (file)
@@ -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;