aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2011-09-19 14:25:18 +0300
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-21 09:30:19 +0300
commit57ab095f0376447ceac53c227a8cf9854d5b1bdb (patch)
tree90516400dd6cf68de7ad8e00ec12e49ae8b70eb1
parentd9cbf6a5b3e6d535eed2e9b28257562ba9e2a515 (diff)
jffs2reader: update the header inclusion block
Signed-off-by: Alexey Dokuchaev <danfe@nsu.ru> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
-rw-r--r--jffs2reader.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/jffs2reader.c b/jffs2reader.c
index d5a3d95..11f841d 100644
--- a/jffs2reader.c
+++ b/jffs2reader.c
@@ -64,7 +64,6 @@ BUGS:
#define PROGRAM_NAME "jffs2reader"
-#include <errno.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
@@ -74,9 +73,10 @@ BUGS:
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/param.h>
#include <dirent.h>
-#include <linux/jffs2.h>
+#include <zlib.h>
+
+#include "mtd/jffs2-user.h"
#include "common.h"
#define SCRATCH_SIZE (5*1024*1024)