From 623e2e9fc6a23b8eb7f22010eaf99bf6f638917d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 5 Jan 2023 09:24:24 +0100 Subject: [PATCH] ext/opcache/zend_accelerator_hash: include cleanup --- ext/opcache/zend_accelerator_hash.c | 2 -- ext/opcache/zend_accelerator_hash.h | 7 ++++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ext/opcache/zend_accelerator_hash.c b/ext/opcache/zend_accelerator_hash.c index 676ed32ce8f..2354409fd51 100644 --- a/ext/opcache/zend_accelerator_hash.c +++ b/ext/opcache/zend_accelerator_hash.c @@ -19,9 +19,7 @@ +----------------------------------------------------------------------+ */ -#include "ZendAccelerator.h" #include "zend_accelerator_hash.h" -#include "zend_hash.h" #include "zend_shared_alloc.h" /* Generated on an Octa-ALPHA 300MHz CPU & 2.5GB RAM monster */ diff --git a/ext/opcache/zend_accelerator_hash.h b/ext/opcache/zend_accelerator_hash.h index 755d3f13ec5..c868427491e 100644 --- a/ext/opcache/zend_accelerator_hash.h +++ b/ext/opcache/zend_accelerator_hash.h @@ -22,7 +22,12 @@ #ifndef ZEND_ACCELERATOR_HASH_H #define ZEND_ACCELERATOR_HASH_H -#include "zend.h" +#include "zend_long.h" +#include "zend_portability.h" // for BEGIN_EXTERN_C + +#include + +typedef struct _zend_string zend_string; /* zend_accel_hash - is a hash table allocated in shared memory and