[PATCH 1/7] disk: include errno.h explicitly in part.h
AKASHI Takahiro
takahiro.akashi at linaro.org
Tue Apr 19 03:01:52 CEST 2022
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 at linaro.org>
---
include/part.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/part.h b/include/part.h
index 53cfbdd87671..1196220817e4 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 {
--
2.33.0
More information about the U-Boot
mailing list