Skip to content

Commit bde893a

Browse files
committed
Zend/zend_globals_macros: add missing includes
1 parent 9863118 commit bde893a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Zend/zend_globals_macros.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
#ifndef ZEND_GLOBALS_MACROS_H
2121
#define ZEND_GLOBALS_MACROS_H
2222

23+
#include "zend_portability.h" // for BEGIN_EXTERN_C
24+
25+
#ifdef ZTS
26+
# include "TSRM.h" // for ts_rsrc_id
27+
#endif
28+
2329
typedef struct _zend_compiler_globals zend_compiler_globals;
2430
typedef struct _zend_executor_globals zend_executor_globals;
2531
typedef struct _zend_php_scanner_globals zend_php_scanner_globals;

0 commit comments

Comments
 (0)