aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAKASHI Takahiro2022-04-19 10:01:52 +0900
committerHeinrich Schuchardt2022-04-23 22:05:33 +0200
commitfd3654df3699ef08a4da91aacfb9799341680806 (patch)
tree9ced7dfc96cb07824daab99958dfe509997f0355
parent7f97d8cddfb7c7168cbd8193e8d2ff523716f161 (diff)
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/part.h b/include/part.h
index 53cfbdd8767..1196220817e 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 {