Zend/zend_execute: always include zend_globals.h

Commit ecc880f491 was incomplete; EG() is used in inline functions
outside of ZEND_DEBUG.
This commit is contained in:
Max Kellermann 2023-01-12 19:49:38 +01:00 committed by George Peter Banyard
parent a60c6ee0ac
commit 4069a5c43f

View File

@ -22,15 +22,12 @@
#define ZEND_EXECUTE_H
#include "zend_compile.h" // for zend_op_array
#include "zend_globals.h" // for struct _zend_executor_globals
#include "zend_globals_macros.h" // for EG()
#include "zend_list.h" // for zend_rsrc_list_get_rsrc_type()
#include "zend_portability.h" // for BEGIN_EXTERN_C
#include "zend_types.h" // for zend_execute_data
#if ZEND_DEBUG
#include "zend_globals.h" // for struct _zend_executor_globals
#include "zend_globals_macros.h" // for EG()
#endif
BEGIN_EXTERN_C()
struct _zend_fcall_info;
ZEND_API extern void (*zend_execute_ex)(zend_execute_data *execute_data);