Skip to content

Commit 3e226af

Browse files
authored
ext/opcache/ZendAccelerator.c: Restrict MD5 header include to Windows (#15418)
As it is only ever used in accel_gen_uname_id() which is Windows only
1 parent 21fa5e1 commit 3e226af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@
4747
#include "zend_accelerator_hash.h"
4848
#include "zend_file_cache.h"
4949
#include "ext/pcre/php_pcre.h"
50-
#include "ext/standard/md5.h"
50+
#include "ext/standard/basic_functions.h"
5151

5252
#ifdef ZEND_WIN32
5353
# include "ext/hash/php_hash.h"
54+
# include "ext/standard/md5.h"
5455
#endif
5556

5657
#ifdef HAVE_JIT

0 commit comments

Comments
 (0)