From ce4cf2ed1fb46a85f734acaab50b01a9302d0c1d Mon Sep 17 00:00:00 2001 From: David Carlier Date: Tue, 28 Feb 2023 19:14:46 +0000 Subject: [PATCH] Fix GH-10728: opcache capstone header's inclusion. Remove capstone include folder. For most of the supported systems it worked fine somehow despite the pkg-config --cflags, but is always include it even on Linux. --- ext/opcache/jit/zend_jit_disasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/jit/zend_jit_disasm.c b/ext/opcache/jit/zend_jit_disasm.c index 408af448ee200..5d1d0c10510b7 100644 --- a/ext/opcache/jit/zend_jit_disasm.c +++ b/ext/opcache/jit/zend_jit_disasm.c @@ -21,7 +21,7 @@ #ifdef HAVE_CAPSTONE # define HAVE_DISASM 1 -# include +# include # define HAVE_CAPSTONE_ITER 1 #elif ZEND_JIT_TARGET_X86 # define HAVE_DISASM 1