summaryrefslogtreecommitdiffstats
path: root/tools/mtd-utils/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mtd-utils/include/linux')
-rw-r--r--tools/mtd-utils/include/linux/types.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/mtd-utils/include/linux/types.h b/tools/mtd-utils/include/linux/types.h
new file mode 100644
index 000000000..559fac7a2
--- /dev/null
+++ b/tools/mtd-utils/include/linux/types.h
@@ -0,0 +1,18 @@
+#ifndef _LINUX_TYPES_H
+#define _LINUX_TYPES_H
+
+#include <mtd/ubi-media.h>
+
+typedef uint16_t __u16;
+typedef uint32_t __u32;
+typedef uint64_t __u64;
+
+typedef __u16 __le16;
+typedef __u32 __le32;
+typedef __u64 __le64;
+typedef __u64 off64_t;
+
+typedef __u16 __sum16;
+typedef __u32 __wsum;
+
+#endif /* _LINUX_TYPES_H */