cvs: php-src /ext/gd gd.c

From: Date: Fri, 27 Jan 2006 20:48:43 +0000
Subject: cvs: php-src /ext/gd gd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-36652@lists.php.net to get a copy of this message
mike Fri Jan 27 20:48:43 2006 UTC Modified files: /php-src/ext/gd gd.c Log: MF5_1: include png.h prior php.h http://cvs.php.net/viewcvs.cgi/php-src/ext/gd/gd.c?r1=1.341&r2=1.342&diff_format=u Index: php-src/ext/gd/gd.c diff -u php-src/ext/gd/gd.c:1.341 php-src/ext/gd/gd.c:1.342 --- php-src/ext/gd/gd.c:1.341 Fri Jan 27 18:05:26 2006 +++ php-src/ext/gd/gd.c Fri Jan 27 20:48:42 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: gd.c,v 1.341 2006/01/27 18:05:26 pajoye Exp $ */ +/* $Id: gd.c,v 1.342 2006/01/27 20:48:42 mike Exp $ */ /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, Cold Spring Harbor Labs. */ @@ -29,6 +29,11 @@ #include "config.h" #endif +#ifdef HAVE_GD_PNG +/* needs to be first */ +#include <png.h> +#endif + #include "php.h" #include "ext/standard/head.h" #include <math.h>

« previous php.cvs (#36652) next »