Skip to content

Commit e883ba9

Browse files
MaxKellermannGirgias
authored andcommitted
Zend/zend_gc: include cleanup
1 parent 7e87551 commit e883ba9

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

Zend/zend_gc.c

+8-3
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,14 @@
6666
*
6767
* @see http://researcher.watson.ibm.com/researcher/files/us-bacon/Bacon01Concurrent.pdf
6868
*/
69-
#include "zend.h"
70-
#include "zend_API.h"
71-
#include "zend_fibers.h"
69+
70+
#include "zend_gc.h"
71+
#include "zend_alloc.h" // for ZEND_MM_OVERHEAD
72+
#include "zend_fibers.h" // for zend_fiber_switch_block()
73+
#include "zend_globals.h" // for struct _zend_executor_globals
74+
#include "zend_globals_macros.h" // for EG()
75+
#include "zend_objects.h" // for zend_objects_destroy_object()
76+
#include "zend.h" // for zend_error()
7277

7378
#ifndef GC_BENCH
7479
# define GC_BENCH 0

Zend/zend_gc.h

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

23+
#include "zend_portability.h" // for BEGIN_EXTERN_C
24+
#include "zend_types.h" // for GC_TYPE_INFO()
25+
2326
BEGIN_EXTERN_C()
2427

2528
typedef struct _zend_gc_status {

0 commit comments

Comments
 (0)