summaryrefslogtreecommitdiff
path: root/lib/zlib/zutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zlib/zutil.h')
-rw-r--r--lib/zlib/zutil.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/zlib/zutil.h b/lib/zlib/zutil.h
index 114cb74..7e05c3b 100644
--- a/lib/zlib/zutil.h
+++ b/lib/zlib/zutil.h
@@ -83,6 +83,10 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
/* The minimum and maximum match lengths */
/* functions */
+#ifdef CONFIG_GZIP_COMPRESSED
+#define PRESET_DICT 0x20 /* preset dictionary flag in zlib header */
+# define OS_CODE 0x03 /* assume Unix */
+#endif
#include <linux/string.h>
#define zmemcpy memcpy