diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-04-15 22:44:00 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-04-17 07:31:35 +0200 |
commit | 9e69a04222ee88c51bd5ca4f802b5fa5ad42b0f8 (patch) | |
tree | bc604531d00cd00b809a9fc5c72c1471d9e7ef1b /include/of.h | |
parent | 724d8847ed3783d49a5acbf35a5c6b60abe5afa0 (diff) | |
download | barebox-9e69a04222ee88c51bd5ca4f802b5fa5ad42b0f8.tar.gz barebox-9e69a04222ee88c51bd5ca4f802b5fa5ad42b0f8.tar.xz |
include: add includes includes to make fdt.h, of.h and state.h self contained
Otherwise compilation may fail with:
include/fdt.h:11:15: error: unknown type name 'uint64_t'
static inline uint64_t fdt64_to_cpu(uint64_t x)
include/of.h:22:19: error: field 'list' has incomplete type
struct list_head list;
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/of.h')
-rw-r--r-- | include/of.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/of.h b/include/of.h index 764a2e5939..7235138f30 100644 --- a/include/of.h +++ b/include/of.h @@ -3,6 +3,8 @@ #include <fdt.h> #include <errno.h> +#include <linux/types.h> +#include <linux/list.h> #include <asm/byteorder.h> /* Default string compare functions */ |