summaryrefslogtreecommitdiff
path: root/mkfs.ubifs/compr.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs.ubifs/compr.c')
-rw-r--r--mkfs.ubifs/compr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mkfs.ubifs/compr.c b/mkfs.ubifs/compr.c
index e378c5d..7f084c5 100644
--- a/mkfs.ubifs/compr.c
+++ b/mkfs.ubifs/compr.c
@@ -24,10 +24,12 @@
#include <stdio.h>
#include <stdint.h>
#include <string.h>
-#include <zlib.h>
#include <lzo/lzo1x.h>
#include <linux/types.h>
+#define crc32 __zlib_crc32
+#include <zlib.h>
+
#include "compr.h"
#include "ubifs-media.h"
#include "mkfs.ubifs.h"