Zend/zend_ptr_stack: include cleanup

This commit is contained in:
Max Kellermann 2023-01-04 21:03:33 +01:00 committed by George Peter Banyard
parent b4ba16fe18
commit f377e15751
2 changed files with 4 additions and 1 deletions

View file

@ -17,8 +17,8 @@
+----------------------------------------------------------------------+ +----------------------------------------------------------------------+
*/ */
#include "zend.h"
#include "zend_ptr_stack.h" #include "zend_ptr_stack.h"
#include <stdarg.h> #include <stdarg.h>
ZEND_API void zend_ptr_stack_init_ex(zend_ptr_stack *stack, bool persistent) ZEND_API void zend_ptr_stack_init_ex(zend_ptr_stack *stack, bool persistent)

View file

@ -20,6 +20,9 @@
#ifndef ZEND_PTR_STACK_H #ifndef ZEND_PTR_STACK_H
#define 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 { typedef struct _zend_ptr_stack {
int top, max; int top, max;
void **elements; void **elements;