Skip to content

Commit f377e15

Browse files
MaxKellermannGirgias
authored andcommitted
Zend/zend_ptr_stack: include cleanup
1 parent b4ba16f commit f377e15

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Zend/zend_ptr_stack.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
+----------------------------------------------------------------------+
1818
*/
1919

20-
#include "zend.h"
2120
#include "zend_ptr_stack.h"
21+
2222
#include <stdarg.h>
2323

2424
ZEND_API void zend_ptr_stack_init_ex(zend_ptr_stack *stack, bool persistent)

Zend/zend_ptr_stack.h

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
#ifndef ZEND_PTR_STACK_H
2121
#define ZEND_PTR_STACK_H
2222

23+
#include "zend_alloc.h" // for safe_perealloc()
24+
#include "zend_portability.h" // for BEGIN_EXTERN_C
25+
2326
typedef struct _zend_ptr_stack {
2427
int top, max;
2528
void **elements;

0 commit comments

Comments
 (0)