diff options
Diffstat (limited to 'jffs-dump.c')
-rw-r--r-- | jffs-dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jffs-dump.c b/jffs-dump.c index 31cdad2..3176469 100644 --- a/jffs-dump.c +++ b/jffs-dump.c @@ -14,6 +14,8 @@ #include <linux/types.h> #include <asm/byteorder.h> +#include "common.h" + #define BLOCK_SIZE 1024 #define JFFS_MAGIC 0x34383931 /* "1984" */ #define JFFS_MAX_NAME_LEN 256 @@ -32,8 +34,6 @@ #define JFFS_MAGIC_BITMASK 0x34383931 #define JFFS_DIRTY_BITMASK 0x00000000 -#define min(x,y) (x) > (y) ? (y) : (x) - struct jffs_raw_inode { uint32_t magic; /* A constant magic number. */ |