File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 17
17
+----------------------------------------------------------------------+
18
18
*/
19
19
20
+ #include "zend_fibers.h"
21
+ #include "zend_objects.h" // for zend_object_std_init()
20
22
#include "zend.h"
21
23
#include "zend_API.h"
22
24
#include "zend_ini.h"
42
44
# include <sys/mman.h>
43
45
# include <limits.h>
44
46
47
+ # include <errno.h>
48
+ # include <string.h> // for strerror()
49
+
45
50
# if !defined(MAP_ANONYMOUS ) && defined(MAP_ANON )
46
51
# define MAP_ANONYMOUS MAP_ANON
47
52
# endif
Original file line number Diff line number Diff line change 20
20
#ifndef ZEND_FIBERS_H
21
21
#define ZEND_FIBERS_H
22
22
23
- #include "zend_API.h"
24
- #include "zend_types.h"
23
+ #include "zend_API.h" // for struct zend_fcall_info
24
+ #include "zend_portability.h" // for BEGIN_EXTERN_C
25
+
26
+ #include <stddef.h>
25
27
26
28
#define ZEND_FIBER_GUARD_PAGES 1
27
29
28
30
#define ZEND_FIBER_DEFAULT_C_STACK_SIZE (4096 * (((sizeof(void *)) < 8) ? 256 : 512))
29
31
#define ZEND_FIBER_VM_STACK_SIZE (1024 * sizeof(zval))
30
32
33
+ typedef struct _zend_fiber_context zend_fiber_context ;
34
+
31
35
BEGIN_EXTERN_C ()
32
36
33
37
typedef enum {
You can’t perform that action at this time.
0 commit comments