]> granicus.if.org Git - php/commitdiff
- include png.h prior php.h
authorMichael Wallner <mike@php.net>
Fri, 27 Jan 2006 20:46:02 +0000 (20:46 +0000)
committerMichael Wallner <mike@php.net>
Fri, 27 Jan 2006 20:46:02 +0000 (20:46 +0000)
ext/gd/gd.c

index 5be939e9ac12e59e9328c5e694735eb720a4b2c0..bc6f6b00b706b028bacd28a288a71c161f49a91b 100644 (file)
 #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>