diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2022-04-19 10:01:52 +0900 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-04-23 22:05:33 +0200 |
commit | fd3654df3699ef08a4da91aacfb9799341680806 (patch) | |
tree | 9ced7dfc96cb07824daab99958dfe509997f0355 | |
parent | 7f97d8cddfb7c7168cbd8193e8d2ff523716f161 (diff) | |
download | u-boot-fd3654df3699ef08a4da91aacfb9799341680806.zip u-boot-fd3654df3699ef08a4da91aacfb9799341680806.tar.gz u-boot-fd3654df3699ef08a4da91aacfb9799341680806.tar.bz2 |
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>
-rw-r--r-- | include/part.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/part.h b/include/part.h index 53cfbdd..1196220 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 { |