From: Michael Wallner Date: Fri, 27 Jan 2006 20:46:02 +0000 (+0000) Subject: - include png.h prior php.h X-Git-Tag: php-5.1.3RC1~197 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe52312f596ff6e5ae9ed512fb9816b5252640e5;p=php - include png.h prior php.h --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 5be939e9ac..bc6f6b00b7 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -29,6 +29,11 @@ #include "config.h" #endif +#ifdef HAVE_GD_PNG +/* needs to be first */ +#include +#endif + #include "php.h" #include "ext/standard/head.h" #include