From 551167bb8fb1689618c6edcde28cab968a00cb3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Thu, 23 Apr 2026 15:54:25 +0200 Subject: [PATCH] zend_alloc: Make zend_alloc.h independent of zend_types.h `zend_types.h` itself refers to `emalloc()` in macro definitions (which is defined in `zend_alloc.h`), making this effectively a circular dependency. Since `zend_alloc.h` does not actually need `zend_types.h`, we can just remove this include from there. --- Zend/zend_alloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_alloc.h b/Zend/zend_alloc.h index ff51c4fe8652..45b3aed84a04 100644 --- a/Zend/zend_alloc.h +++ b/Zend/zend_alloc.h @@ -22,7 +22,7 @@ #include -#include "zend_types.h" +#include "zend_portability.h" #include "../TSRM/TSRM.h" #ifndef ZEND_MM_ALIGNMENT