summaryrefslogtreecommitdiff
path: root/ubi-utils/include/libubi.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-01-25 11:22:00 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-01-25 11:22:00 +0200
commit86e34f6e7c50a22e1b37fa2ed65c620e4c74f3a2 (patch)
treedede1f0d34ca39a38c35b05feb073e6f740571c7 /ubi-utils/include/libubi.h
parent1b2cb2fefcb5ae05cce3fb5eaeb2b6d68c6e1eac (diff)
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 <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/include/libubi.h')
-rw-r--r--ubi-utils/include/libubi.h2
1 files changed, 1 insertions, 1 deletions
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 <ctype.h>
#include <stdint.h>
#include <mtd/ubi-user.h>
-#include <ctype.h>
#include <mtd/ubi-header.h>
#ifdef __cplusplus