mike Fri Jan 27 20:46:03 2006 UTC
Modified files: (Branch: PHP_5_1)
/php-src/ext/gd gd.c
Log:
- include png.h prior php.h
http://cvs.php.net/viewcvs.cgi/php-src/ext/gd/gd.c?r1=1.312.2.17&r2=1.312.2.18&diff_format=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.312.2.17 php-src/ext/gd/gd.c:1.312.2.18
--- php-src/ext/gd/gd.c:1.312.2.17 Fri Jan 27 13:36:29 2006
+++ php-src/ext/gd/gd.c Fri Jan 27 20:46:02 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.312.2.17 2006/01/27 13:36:29 pajoye Exp $ */
+/* $Id: gd.c,v 1.312.2.18 2006/01/27 20:46:02 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>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php