Zend/zend_call_stack: include cleanup

This commit is contained in:
Max Kellermann 2023-01-04 20:20:23 +01:00 committed by George Peter Banyard
parent 5190e5c260
commit 05c7653bba
2 changed files with 7 additions and 5 deletions

View File

@ -18,11 +18,11 @@
/* Inspired from Chromium's stack_util.cc */
#include "zend.h"
#include "zend_globals.h"
#include "zend_portability.h"
#include "zend_call_stack.h"
#include "zend_globals.h"
#include <stdint.h>
#ifdef ZEND_WIN32
# include <processthreadsapi.h>
# include <memoryapi.h>

View File

@ -19,12 +19,14 @@
#ifndef ZEND_CALL_STACK_H
#define ZEND_CALL_STACK_H
#include "zend.h"
#include "zend_portability.h"
#include "zend_portability.h" // for zend_always_inline
#ifdef __APPLE__
# include <pthread.h>
#endif
#include <stdbool.h>
#ifdef ZEND_CHECK_STACK_LIMIT
typedef struct _zend_call_stack {