Skip to content

Commit 05c7653

Browse files
MaxKellermannGirgias
authored andcommitted
Zend/zend_call_stack: include cleanup
1 parent 5190e5c commit 05c7653

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

Zend/zend_call_stack.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818

1919
/* Inspired from Chromium's stack_util.cc */
2020

21-
#include "zend.h"
22-
#include "zend_globals.h"
23-
#include "zend_portability.h"
2421
#include "zend_call_stack.h"
22+
#include "zend_globals.h"
23+
2524
#include <stdint.h>
25+
2626
#ifdef ZEND_WIN32
2727
# include <processthreadsapi.h>
2828
# include <memoryapi.h>

Zend/zend_call_stack.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@
1919
#ifndef ZEND_CALL_STACK_H
2020
#define ZEND_CALL_STACK_H
2121

22-
#include "zend.h"
23-
#include "zend_portability.h"
22+
#include "zend_portability.h" // for zend_always_inline
23+
2424
#ifdef __APPLE__
2525
# include <pthread.h>
2626
#endif
2727

28+
#include <stdbool.h>
29+
2830
#ifdef ZEND_CHECK_STACK_LIMIT
2931

3032
typedef struct _zend_call_stack {

0 commit comments

Comments
 (0)