Fix building for mkyaffsimage and mkyaffs2image
[yaffs2.git] / utils / yutilsenv.h
index ae3042d8abbf4bbf77dfc6fa98137d26770ce4e0..6c9fe2b25582bfa8c161cc883989b67027ce9e36 100644 (file)
 #define YCHAR char
 #define YUCHAR unsigned char
 
+#ifndef u8
+#define u8 unsigned char
+#endif
+
+#ifndef u16
+#define u16 unsigned short
+#endif
+
+#ifndef u32
+#define u32 unsigned int
+#endif
+
+#ifndef s32
+#define s32 int
+#endif
+
+
 #include <sys/types.h>
 #include <string.h>
 #include "yaffs_list.h"