diff --git a/ext/gd/gd_compat.c b/ext/gd/gd_compat.c index d6d8d0b2f9eeb..af55e42d9a7c5 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 */