Skip to content

Commit b5aeb3a

Browse files
MaxKellermannGirgias
authored andcommitted
Zend/zend_stream: include cleanup
1 parent f061a03 commit b5aeb3a

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

Zend/zend_stream.c

+4-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@
1919
+----------------------------------------------------------------------+
2020
*/
2121

22-
#include "zend.h"
23-
#include "zend_compile.h"
2422
#include "zend_stream.h"
23+
#include "zend_globals.h" // struct _zend_compiler_globals
24+
#include "zend_globals_macros.h" // for CG()
25+
#include "zend_string.h"
26+
#include "zend.h" // for zend_stream_open_function
2527

2628
ZEND_DLIMPORT int isatty(int fd);
2729

Zend/zend_stream.h

+8-1
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,16 @@
2222
#ifndef ZEND_STREAM_H
2323
#define ZEND_STREAM_H
2424

25-
#include <sys/types.h>
25+
#include "zend_portability.h" // for BEGIN_EXTERN_C
26+
#include "zend_types.h" // for zend_uchar
27+
28+
#include <stdbool.h>
29+
#include <stdio.h> // for FILE
30+
#include <sys/types.h> // for ssize_t
2631
#include <sys/stat.h>
2732

33+
typedef struct _zend_string zend_string;
34+
2835
/* Lightweight stream implementation for the ZE scanners.
2936
* These functions are private to the engine.
3037
* */

0 commit comments

Comments
 (0)