From 86e34f6e7c50a22e1b37fa2ed65c620e4c74f3a2 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Fri, 25 Jan 2008 11:22:00 +0200 Subject: ubi-tools: fix compilation problems It appears that older system do not expose __be32 and friends to userspace, so use uint32_t and friends. Signed-off-by: Artem Bityutskiy --- ubi-utils/include/libubi.h | 2 +- ubi-utils/include/libubigen.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ubi-utils/include') diff --git a/ubi-utils/include/libubi.h b/ubi-utils/include/libubi.h index 0cdb67c..61d886f 100644 --- a/ubi-utils/include/libubi.h +++ b/ubi-utils/include/libubi.h @@ -23,9 +23,9 @@ #ifndef __LIBUBI_H__ #define __LIBUBI_H__ +#include #include #include -#include #include #ifdef __cplusplus diff --git a/ubi-utils/include/libubigen.h b/ubi-utils/include/libubigen.h index f5c7616..1b659b5 100644 --- a/ubi-utils/include/libubigen.h +++ b/ubi-utils/include/libubigen.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { -- cgit v1.2.3