diff options
author | Dirk Hörner <dirker@gmail.com> | 2012-06-04 22:40:17 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-06-05 21:40:15 +0200 |
commit | a906e5e196551e1c232bb2d28413e918cf8889f1 (patch) | |
tree | f570a379232341ea20cec6c01c4f8b8c2136c2e8 /include/image.h | |
parent | f324a85e8b9ed5efb6c135a2c76df2347300f100 (diff) | |
download | barebox-a906e5e196551e1c232bb2d28413e918cf8889f1.tar.gz barebox-a906e5e196551e1c232bb2d28413e918cf8889f1.tar.xz |
hostcc tools: include "compiler.h", fix included headers
When barebox headers get included from HOSTCC tools they should not
include other architecture specific headers as barebox might get
cross-compiled. Instead, the tool itself should include "compiler.h".
Signed-off-by: Dirk Hörner <dirker@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/image.h')
-rw-r--r-- | include/image.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.h b/include/image.h index 35ff01b1c0..027b5f2520 100644 --- a/include/image.h +++ b/include/image.h @@ -31,8 +31,8 @@ #ifndef __IMAGE_H__ #define __IMAGE_H__ -#include <linux/types.h> #ifdef __BAREBOX__ +#include <linux/types.h> #include <asm/byteorder.h> #include <stdio.h> #include <string.h> |