From 375de586ede1989e86ca679a7b3fd985b1bd8d49 Mon Sep 17 00:00:00 2001 From: Arnaud Le Blanc Date: Mon, 22 Jul 2024 20:51:18 +0200 Subject: [PATCH 1/2] Fix build on platforms without JIT support --- ext/opcache/shared_alloc_mmap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/opcache/shared_alloc_mmap.c b/ext/opcache/shared_alloc_mmap.c index 8da25db0bdb16..bfa0e9161ac75 100644 --- a/ext/opcache/shared_alloc_mmap.c +++ b/ext/opcache/shared_alloc_mmap.c @@ -20,7 +20,9 @@ */ #include "zend_shared_alloc.h" -#include "jit/zend_jit.h" +#ifdef HAVE_JIT +# include "jit/zend_jit.h" +#endif #ifdef USE_MMAP From 161cf65866ede8d659f77638bdd93520a40104e9 Mon Sep 17 00:00:00 2001 From: Arnaud Le Blanc Date: Mon, 22 Jul 2024 23:12:16 +0200 Subject: [PATCH 2/2] build