com php-src: Include config.h instead of php_config.h in gd_compat.c to have the configure variable a vailable in outside-of-the-tree module build:
ext/g d/gd_compat.c

From: Date: Mon, 07 Sep 2015 11:28:05 +0000
Subject: com php-src: Include config.h instead of php_config.h in gd_compat.c to have the configure variable a vailable in outside-of-the-tree module build:
ext/g d/gd_compat.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-89433@lists.php.net to get a copy of this message
Commit: 82c0156cacacd32764be2e7cb6825f92ba88c787 Author: Ondřej Surý <ondrej@sury.org> Mon, 7 Sep 2015 13:20:58 +0200 Parents: aa352a34fd1077995ec159ba30a6cf62c70e64c7 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=82c0156cacacd32764be2e7cb6825f92ba88c787 Log: Include config.h instead of php_config.h in gd_compat.c to have the configure variable available in outside-of-the-tree module build Changed paths: M ext/gd/gd_compat.c Diff: diff --git a/ext/gd/gd_compat.c b/ext/gd/gd_compat.c index d6d8d0b..af55e42 100644 --- a/ext/gd/gd_compat.c +++ b/ext/gd/gd_compat.c @@ -1,4 +1,6 @@ -#include "php_config.h" +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #ifdef HAVE_GD_PNG /* needs to be first */

« previous php.cvs (#89433) next »