From: Mike Frysinger Date: Sun, 1 May 2011 12:31:02 +0000 (+0000) Subject: zlib: fix DEBUG build X-Git-Tag: v2011.06-rc1~64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f18185ab602b77d83610886d3a07f8eacfb12f23;p=kernel%2Fu-boot.git zlib: fix DEBUG build The previous commit imported a little too much from upstream. We need to disable stdio.h when using U-Boot. Reported-by: Wolfgang Denk Signed-off-by: Mike Frysinger --- diff --git a/lib/zlib/zutil.h b/lib/zlib/zutil.h index 46522c8..114cb74 100644 --- a/lib/zlib/zutil.h +++ b/lib/zlib/zutil.h @@ -91,7 +91,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);}