From: AKASHI Takahiro <takahiro.akashi@linaro.org> Date: Tue, 19 Apr 2022 01:01:52 +0000 (+0900) Subject: disk: include errno.h explicitly in part.h X-Git-Tag: v2025.01-rc5-pxa1908~1438^2~19 X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/%7B%7B?a=commitdiff_plain;h=fd3654df3699ef08a4da91aacfb9799341680806;p=u-boot.git disk: include errno.h explicitly in part.h Some errno numbers are used in defining inline functions. So "errno.h" should be explicitly included to avoid possible build errors. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> --- diff --git a/include/part.h b/include/part.h index 53cfbdd876..1196220817 100644 --- a/include/part.h +++ b/include/part.h @@ -10,6 +10,7 @@ #include <ide.h> #include <uuid.h> #include <linker_lists.h> +#include <linux/errno.h> #include <linux/list.h> struct block_drvr {