From 36223f32d234fa3d9be7729522cc2c360d3aa9d7 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sat, 7 Mar 2026 19:13:51 +0100 Subject: [PATCH] Remove unused config.h inclusion in SAPIs Current PHP SAPIs aren't built outside of php-src and neither is anywhere described how such configuration header is supposed to be used. --- sapi/cli/php_cli_process_title.c | 4 ---- sapi/phpdbg/phpdbg_io.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/sapi/cli/php_cli_process_title.c b/sapi/cli/php_cli_process_title.c index fe36c9a2fdbcb..e6740576f6aa0 100644 --- a/sapi/cli/php_cli_process_title.c +++ b/sapi/cli/php_cli_process_title.c @@ -14,10 +14,6 @@ +----------------------------------------------------------------------+ */ -#ifdef HAVE_CONFIG_H -#include -#endif - #include "php.h" #include "php_cli_process_title.h" #include "ps_title.h" diff --git a/sapi/phpdbg/phpdbg_io.c b/sapi/phpdbg/phpdbg_io.c index 261a67cd39253..742455b73f1d8 100644 --- a/sapi/phpdbg/phpdbg_io.c +++ b/sapi/phpdbg/phpdbg_io.c @@ -14,10 +14,6 @@ +----------------------------------------------------------------------+ */ -#ifdef HAVE_CONFIG_H -#include -#endif - #include "phpdbg_io.h" ZEND_EXTERN_MODULE_GLOBALS(phpdbg)