php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #74766
Patch opcache-zend_file_cache.patch revision 2017-06-16 06:42 UTC by naf at altlinux dot org

Patch opcache-zend_file_cache.patch for opcache Bug #74766

Patch version 2017-06-16 06:42 UTC

Return to Bug #74766 | Download this patch
Patch Revisions:

Developer: naf@altlinux.org

Fix headers include order

diff --git a/ext/opcache/zend_file_cache.c b/ext/opcache/zend_file_cache.c
index fb6827a..1635e5e 100644
--- a/ext/opcache/zend_file_cache.c
+++ b/ext/opcache/zend_file_cache.c
@@ -24,9 +24,10 @@
 
 #include "php.h"
 
+#include "ZendAccelerator.h"
+
 #ifdef HAVE_OPCACHE_FILE_CACHE
 
-#include "ZendAccelerator.h"
 #include "zend_file_cache.h"
 #include "zend_shared_alloc.h"
 #include "zend_accelerator_util_funcs.h"
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 14:01:31 2024 UTC