File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 3838#include "zend_inheritance.h"
3939#include "zend_observer.h"
4040#include "zend_timer.h"
41+ #ifdef HAVE_SYS_TIME_H
42+ #include <sys/time.h>
43+ #endif
44+ #ifdef HAVE_UNISTD_H
45+ #include <unistd.h>
46+ #endif
4147
4248ZEND_API void (* zend_execute_ex )(zend_execute_data * execute_data );
4349ZEND_API void (* zend_execute_internal )(zend_execute_data * execute_data , zval * return_value );
Original file line number Diff line number Diff line change 2222
2323
2424#include <setjmp.h>
25- #ifdef ZEND_TIMER
26- #include <time.h>
27- #include <signal.h>
28- #endif
2925
3026#include "zend_globals_macros.h"
3127
4036#include "zend_multibyte.h"
4137#include "zend_multiply.h"
4238#include "zend_arena.h"
39+ #include "zend_timer.h"
4340
4441/* Define ZTS if you want a thread-safe Zend */
4542/*#undef ZTS*/
@@ -270,7 +267,7 @@ struct _zend_executor_globals {
270267 uint32_t num_errors ;
271268 zend_error_info * * errors ;
272269
273- #ifndef ZEND_TIMER
270+ #ifdef ZEND_TIMER
274271 timer_t timer ;
275272 struct sigaction oldact ;
276273#endif
You can’t perform that action at this time.
0 commit comments