Skip to content

Commit 1989ec4

Browse files
committed
ext/opcache/zend_accelerator_util_funcs: include cleanup
1 parent 8511da6 commit 1989ec4

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

ext/opcache/zend_accelerator_util_funcs.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,9 @@
1919
+----------------------------------------------------------------------+
2020
*/
2121

22-
#include "zend_API.h"
23-
#include "zend_constants.h"
24-
#include "zend_inheritance.h"
2522
#include "zend_accelerator_util_funcs.h"
26-
#include "zend_persist.h"
27-
#include "zend_shared_alloc.h"
23+
#include "ZendAccelerator.h"
24+
#include "zend_inheritance.h" // for zend_try_early_bind()
2825
#include "zend_observer.h"
2926

3027
#ifdef __SSE2__

ext/opcache/zend_accelerator_util_funcs.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,14 @@
2222
#ifndef ZEND_ACCELERATOR_UTIL_FUNCS_H
2323
#define ZEND_ACCELERATOR_UTIL_FUNCS_H
2424

25-
#include "zend.h"
26-
#include "ZendAccelerator.h"
25+
#include "zend_portability.h" // for BEGIN_EXTERN_C
26+
27+
#include <stdint.h>
28+
29+
typedef struct _zend_op_array zend_op_array;
30+
typedef struct _zend_persistent_script zend_persistent_script;
31+
typedef struct _zend_script zend_script;
32+
typedef struct _zend_array HashTable;
2733

2834
BEGIN_EXTERN_C()
2935

0 commit comments

Comments
 (0)