From: Michael Wallner Date: Fri, 27 Jan 2006 20:48:42 +0000 (+0000) Subject: MF5_1: include png.h prior php.h X-Git-Tag: RELEASE_1_2~353 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64d4c588ad9dd86a1adf8a28ef5ccf8335cd0f80;p=php MF5_1: include png.h prior php.h --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 47b79075bd..2785820294 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