diff mbox

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

Message ID d94e72a2ae7292c5c890b1ad61f04bfdb983250c.1316431431.git.andriy.shevchenko@linux.intel.com
State Accepted
Commit 57ab095f0376447ceac53c227a8cf9854d5b1bdb
Headers show

Commit Message

Andy Shevchenko Sept. 19, 2011, 11:25 a.m. UTC
Signed-off-by: Alexey Dokuchaev <danfe@nsu.ru>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 jffs2reader.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Comments

Bityutskiy, Artem Sept. 21, 2011, 6:33 a.m. UTC | #1
Amended the spacing as Brian asked and pushed the series, thanks!
diff mbox

Patch

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)