projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f97d8c
)
disk: include errno.h explicitly in part.h
author
AKASHI Takahiro
<takahiro.akashi@linaro.org>
Tue, 19 Apr 2022 01:01:52 +0000
(10:01 +0900)
committer
Heinrich Schuchardt
<heinrich.schuchardt@canonical.com>
Sat, 23 Apr 2022 20:05:33 +0000
(22:05 +0200)
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>
include/part.h
patch
|
blob
|
history
diff --git
a/include/part.h
b/include/part.h
index 53cfbdd876710ccf3ef8dbccc888d5f7743b390a..1196220817e411c5114a8d6329381719e409dcbe 100644
(file)
--- 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 {