From ae9ff5ae6f579f321a1b695c82453b67ec1bf6db Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 15 May 2025 17:31:50 -0600 Subject: global: Avoid indirect inclusion of from Now that env_get_ip() has been removed, the include file does not need anything from . Furthermore, include/env.h itself includes other headers which can lead to longer indirect inclusion paths. To prepare to remove from fix all of the remaining places which had relied on this indirect inclusion to instead include directly. Reviewed-by: Jerome Forissier # net/lwip Acked-by: Ilias Apalodimas Reviewed-by: Wolfgang Wallner Reviewed-by: Martyn Welch Signed-off-by: Tom Rini --- boot/bootmeth_efi.c | 1 + boot/bootmeth_pxe.c | 1 + 2 files changed, 2 insertions(+) (limited to 'boot') diff --git a/boot/bootmeth_efi.c b/boot/bootmeth_efi.c index 0c9b4c3d59d..0af23df3a4a 100644 --- a/boot/bootmeth_efi.c +++ b/boot/bootmeth_efi.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/boot/bootmeth_pxe.c b/boot/bootmeth_pxe.c index 6e5e0f99ea4..faa8d729b15 100644 --- a/boot/bootmeth_pxe.c +++ b/boot/bootmeth_pxe.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include -- cgit v1.3.1