]> granicus.if.org Git - php/commitdiff
Include config.h instead of php_config.h in gd_compat.c to have the configure variabl...
authorOndřej Surý <ondrej@sury.org>
Mon, 7 Sep 2015 11:20:58 +0000 (13:20 +0200)
committerOndřej Surý <ondrej@sury.org>
Mon, 7 Sep 2015 11:28:05 +0000 (13:28 +0200)
ext/gd/gd_compat.c

index d6d8d0b2f9eeb1b4351d4083de046f2c90fbb66c..af55e42d9a7c52e34d996778a7cbe248eb7165a4 100644 (file)
@@ -1,4 +1,6 @@
-#include "php_config.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 
 #ifdef HAVE_GD_PNG
 /* needs to be first */