From f377e15751d3aa48b69cd9bcc366ede7803d511f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 4 Jan 2023 21:03:33 +0100 Subject: [PATCH] Zend/zend_ptr_stack: include cleanup --- Zend/zend_ptr_stack.c | 2 +- Zend/zend_ptr_stack.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Zend/zend_ptr_stack.c b/Zend/zend_ptr_stack.c index 80c77e11d73..acecae477e3 100644 --- a/Zend/zend_ptr_stack.c +++ b/Zend/zend_ptr_stack.c @@ -17,8 +17,8 @@ +----------------------------------------------------------------------+ */ -#include "zend.h" #include "zend_ptr_stack.h" + #include ZEND_API void zend_ptr_stack_init_ex(zend_ptr_stack *stack, bool persistent) diff --git a/Zend/zend_ptr_stack.h b/Zend/zend_ptr_stack.h index 1126da5800d..b1dc6c29af3 100644 --- a/Zend/zend_ptr_stack.h +++ b/Zend/zend_ptr_stack.h @@ -20,6 +20,9 @@ #ifndef ZEND_PTR_STACK_H #define ZEND_PTR_STACK_H +#include "zend_alloc.h" // for safe_perealloc() +#include "zend_portability.h" // for BEGIN_EXTERN_C + typedef struct _zend_ptr_stack { int top, max; void **elements;