summaryrefslogtreecommitdiff
path: root/compr_zlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'compr_zlib.c')
-rw-r--r--compr_zlib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/compr_zlib.c b/compr_zlib.c
index dda3e40..0564f16 100644
--- a/compr_zlib.c
+++ b/compr_zlib.c
@@ -39,10 +39,9 @@
#include <stdio.h>
#include <asm/types.h>
#include <linux/jffs2.h>
+#include "common.h"
#include "compr.h"
-#define min(x,y) ((x)<(y)?(x):(y))
-
/* Plan: call deflate() with avail_in == *sourcelen,
avail_out = *dstlen - 12 and flush == Z_FINISH.
If it doesn't manage to finish, call it again with