Skip to content

Commit 9b9ea0d

Browse files
MaxKellermannGirgias
authored andcommitted
Zend/zend_list: include cleanup
1 parent f15747c commit 9b9ea0d

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

Zend/zend_list.c

+5-3
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@
1919

2020
/* resource lists */
2121

22-
#include "zend.h"
2322
#include "zend_list.h"
24-
#include "zend_API.h"
25-
#include "zend_globals.h"
23+
#include "zend_execute.h" // for get_active_class_name()
24+
#include "zend_globals.h" // for struct _zend_executor_globals
25+
#include "zend_globals_macros.h" // for EG()
26+
#include "zend_hash.h"
27+
#include "zend_types.h" // for zval
2628

2729
ZEND_API int le_index_ptr;
2830

Zend/zend_list.h

+6-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@
2020
#ifndef ZEND_LIST_H
2121
#define ZEND_LIST_H
2222

23-
#include "zend_hash.h"
24-
#include "zend_globals.h"
23+
#include "zend_portability.h" // for BEGIN_EXTERN_C
24+
25+
typedef struct _zend_array HashTable;
26+
typedef struct _zend_resource zend_resource;
27+
typedef struct _zend_string zend_string;
28+
typedef struct _zval_struct zval;
2529

2630
BEGIN_EXTERN_C()
2731

0 commit comments

Comments
 (0)