]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
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 51780999a883f93a38bdef0e27e0e0f14bda5bce..a7dbcec1506b701b2873c14f6bd060e765c1979e 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;