From 3bec496e5954482537f1d649808e3cc841e39e73 Mon Sep 17 00:00:00 2001 From: Gina Peter Bnayard Date: Thu, 15 Aug 2024 00:43:25 +0200 Subject: [PATCH] ext/opcache/ZendAccelerator.c: Restrict MD5 header include to Windows As it is only ever used in accel_gen_uname_id() which is Windows only --- ext/opcache/ZendAccelerator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index 0bd55d319e31e..f9514d4807c4e 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -47,10 +47,11 @@ #include "zend_accelerator_hash.h" #include "zend_file_cache.h" #include "ext/pcre/php_pcre.h" -#include "ext/standard/md5.h" +#include "ext/standard/basic_functions.h" #ifdef ZEND_WIN32 # include "ext/hash/php_hash.h" +# include "ext/standard/md5.h" #endif #ifdef HAVE_JIT