summaryrefslogtreecommitdiff
path: root/lib/zlib/zlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zlib/zlib.c')
-rw-r--r--lib/zlib/zlib.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/zlib/zlib.c b/lib/zlib/zlib.c
index 230d0df..7e15702 100644
--- a/lib/zlib/zlib.c
+++ b/lib/zlib/zlib.c
@@ -12,6 +12,14 @@
* - added inflateIncomp
*/
+#include <common.h>
+
+#ifdef CONFIG_GZIP_COMPRESSED
+#define NO_DUMMY_DECL
+#include "deflate.c"
+#include "trees.c"
+#endif
+
#include "zutil.h"
#include "inftrees.h"
#include "inflate.h"