Skip to content

Commit a93f264

Browse files
MaxKellermannGirgias
authored andcommitted
Zend/zend_weakrefs: include cleanup
1 parent 72dd94e commit a93f264

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Zend/zend_weakrefs.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
+----------------------------------------------------------------------+
1515
*/
1616

17-
#include "zend.h"
18-
#include "zend_interfaces.h"
19-
#include "zend_objects_API.h"
2017
#include "zend_weakrefs.h"
18+
#include "zend_API.h" // for ZEND_BEGIN_ARG_INFO_EX
19+
#include "zend_objects.h" // for zend_object_std_init()
2120
#include "zend_weakrefs_arginfo.h"
21+
#include "zend_interfaces.h" // for zend_create_internal_iterator_zval()
2222

2323
typedef struct _zend_weakref {
2424
zend_object *referent;

Zend/zend_weakrefs.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
#ifndef ZEND_WEAKREFS_H
1818
#define ZEND_WEAKREFS_H
1919

20-
#include "zend_alloc.h"
20+
#include "zend_portability.h" // for BEGIN_EXTERN_C
21+
#include "zend_types.h" // for zval
2122

2223
BEGIN_EXTERN_C()
2324

0 commit comments

Comments
 (0)