From dfae7f60dfb577031175848b0dbf5d12ff1ebbc3 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 24 Aug 2023 10:02:59 +0200 Subject: Make sure ubi-media structures are visible for libubigen The libubigen.h header relies on external declarations in ubi-media.h. While not technically needed, it generates warnings in mtdinfo.c if those are not visible. All other places where libubigen is used include the header first. This is primarily to silence compiler warnings related to the missing declrations. Signed-off-by: David Oberhollenzer --- ubi-utils/mtdinfo.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ubi-utils') diff --git a/ubi-utils/mtdinfo.c b/ubi-utils/mtdinfo.c index 154872d..7dff0de 100644 --- a/ubi-utils/mtdinfo.c +++ b/ubi-utils/mtdinfo.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3