X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=lib%2Fzlib%2Fzutil.h;h=e63bf68653f52ed254d77e6623a4fe5c2c912f9d;hb=a8ea299c48fa02651ec762d878ad5174771af147;hp=46522c8e653f18c416c46e2bbd474a6b1a2259ea;hpb=aeabdeb7a33c9cff9ae0cd804521d0d691a7c341;p=u-boot diff --git a/lib/zlib/zutil.h b/lib/zlib/zutil.h index 46522c8e65..e63bf68653 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 #define zmemcpy memcpy @@ -91,7 +95,8 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ /* Diagnostic functions */ #ifdef DEBUG -# include +/* Not valid for U-Boot +# include */ extern int z_verbose; extern void z_error OF((char *m)); # define Assert(cond,msg) {if(!(cond)) z_error(msg);}