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 38
38
#include "zend_inheritance.h"
39
39
#include "zend_observer.h"
40
40
#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
41
47
42
48
ZEND_API void (* zend_execute_ex )(zend_execute_data * execute_data );
43
49
ZEND_API void (* zend_execute_internal )(zend_execute_data * execute_data , zval * return_value );
Original file line number Diff line number Diff line change 22
22
23
23
24
24
#include <setjmp.h>
25
- #ifdef ZEND_TIMER
26
- #include <time.h>
27
- #include <signal.h>
28
- #endif
29
25
30
26
#include "zend_globals_macros.h"
31
27
40
36
#include "zend_multibyte.h"
41
37
#include "zend_multiply.h"
42
38
#include "zend_arena.h"
39
+ #include "zend_timer.h"
43
40
44
41
/* Define ZTS if you want a thread-safe Zend */
45
42
/*#undef ZTS*/
@@ -270,7 +267,7 @@ struct _zend_executor_globals {
270
267
uint32_t num_errors ;
271
268
zend_error_info * * errors ;
272
269
273
- #ifndef ZEND_TIMER
270
+ #ifdef ZEND_TIMER
274
271
timer_t timer ;
275
272
struct sigaction oldact ;
276
273
#endif
You can’t perform that action at this time.
0 commit comments