Skip to content

Commit 5190e5c

Browse files
MaxKellermannGirgias
authored andcommitted
Zend/zend_ast: include cleanup
1 parent 6b55bf2 commit 5190e5c

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Zend/zend_ast.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
*/
1919

2020
#include "zend_ast.h"
21-
#include "zend_API.h"
22-
#include "zend_operators.h"
23-
#include "zend_language_parser.h"
24-
#include "zend_smart_str.h"
25-
#include "zend_exceptions.h"
21+
#include "zend_API.h" // for array_set_zval_key
22+
#include "zend_arena.h"
2623
#include "zend_constants.h"
2724
#include "zend_enum.h"
25+
#include "zend_language_parser.h" // for T_*
26+
#include "zend_smart_str.h"
27+
#include "zend_exceptions.h" // for zend_throw_error
2828

2929
ZEND_API zend_ast_process_t zend_ast_process = NULL;
3030

Zend/zend_ast.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
#ifndef ZEND_AST_H
2222
#define ZEND_AST_H
2323

24-
#include "zend.h"
24+
#include "zend_types.h" // for zval
25+
26+
#include <stdint.h>
2527

2628
#ifndef ZEND_AST_SPEC
2729
# define ZEND_AST_SPEC 1

0 commit comments

Comments
 (0)