aboutsummaryrefslogtreecommitdiff
path: root/jffs2reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'jffs2reader.c')
-rw-r--r--jffs2reader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/jffs2reader.c b/jffs2reader.c
index ef9dbe3..b995f19 100644
--- a/jffs2reader.c
+++ b/jffs2reader.c
@@ -102,6 +102,8 @@ struct dir {
char name[256];
};
+int target_endian = __BYTE_ORDER;
+
void putblock(char *, size_t, size_t *, struct jffs2_raw_inode *);
struct dir *putdir(struct dir *, struct jffs2_raw_dirent *);
void printdir(char *o, size_t size, struct dir *d, char *path,