[PATCH 1/7] jffs2reader: update the header inclusion block

Andy Shevchenko andriy.shevchenko at linux.intel.com
Mon Sep 19 07:25:18 EDT 2011


Signed-off-by: Alexey Dokuchaev <danfe at nsu.ru>
Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
---
 jffs2reader.c |    6 +++---
 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)
-- 
1.7.5.4




More information about the linux-mtd mailing list