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>

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to