Zend/zend_stream: include cleanup

This commit is contained in:
Max Kellermann 2023-01-04 21:37:20 +01:00 committed by George Peter Banyard
parent f061a035e4
commit b5aeb3a4d4
2 changed files with 12 additions and 3 deletions

View file

@ -19,9 +19,11 @@
+----------------------------------------------------------------------+ +----------------------------------------------------------------------+
*/ */
#include "zend.h"
#include "zend_compile.h"
#include "zend_stream.h" #include "zend_stream.h"
#include "zend_globals.h" // struct _zend_compiler_globals
#include "zend_globals_macros.h" // for CG()
#include "zend_string.h"
#include "zend.h" // for zend_stream_open_function
ZEND_DLIMPORT int isatty(int fd); ZEND_DLIMPORT int isatty(int fd);

View file

@ -22,9 +22,16 @@
#ifndef ZEND_STREAM_H #ifndef ZEND_STREAM_H
#define ZEND_STREAM_H #define ZEND_STREAM_H
#include <sys/types.h> #include "zend_portability.h" // for BEGIN_EXTERN_C
#include "zend_types.h" // for zend_uchar
#include <stdbool.h>
#include <stdio.h> // for FILE
#include <sys/types.h> // for ssize_t
#include <sys/stat.h> #include <sys/stat.h>
typedef struct _zend_string zend_string;
/* Lightweight stream implementation for the ZE scanners. /* Lightweight stream implementation for the ZE scanners.
* These functions are private to the engine. * These functions are private to the engine.
* */ * */