From c3cd22b40434c70a55316b91d57c35af9c34a041 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Mon, 8 Mar 2010 21:10:25 -0600 Subject: [devel] Moved "#include png.h" inside pngpriv.h and removed "#include png.h" from the source files, along with "#define PNG_EXPOSE_INTERNAL_STRUCTURES" and "#define PNG_NO_PEDANTIC_WARNINGS" (John Bowler). Also created new pngdebug.h and moved debug definitions there. --- pngwtran.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'pngwtran.c') diff --git a/pngwtran.c b/pngwtran.c index bda4a6331..0f9644a07 100644 --- a/pngwtran.c +++ b/pngwtran.c @@ -11,12 +11,10 @@ * and license in png.h */ -#define PNG_EXPOSE_INTERNAL_STRUCTURES -#define PNG_NO_PEDANTIC_WARNINGS -#include "png.h" -#ifdef PNG_WRITE_SUPPORTED #include "pngpriv.h" +#ifdef PNG_WRITE_SUPPORTED + /* Transform the data according to the user's wishes. The order of * transformations is significant. */ -- cgit v1.2.1