From 43c01a9db32a6989925f527f151149d56aea62d7 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Fri, 29 Apr 2022 17:09:11 +0100 Subject: [PATCH] dmalloc build fix. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `error: expected declaration specifiers or ‘...’ before string constant 32 | extern int posix_memalign (void **, size_t, size_t);` --- sapi/cli/php_cli_server.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c index 726eee55c1ea3..11b1fcd062fee 100644 --- a/sapi/cli/php_cli_server.c +++ b/sapi/cli/php_cli_server.c @@ -15,6 +15,17 @@ +----------------------------------------------------------------------+ */ +#include "SAPI.h" +#include "php.h" +#include "php_ini.h" +#include "php_main.h" +#include "php_globals.h" +#include "php_variables.h" +#include "zend_hash.h" +#include "zend_modules.h" +#include "fopen_wrappers.h" +#include "http_status_codes.h" + #include #include #include @@ -49,17 +60,6 @@ #include #endif -#include "SAPI.h" -#include "php.h" -#include "php_ini.h" -#include "php_main.h" -#include "php_globals.h" -#include "php_variables.h" -#include "zend_hash.h" -#include "zend_modules.h" -#include "fopen_wrappers.h" -#include "http_status_codes.h" - #include "zend_compile.h" #include "zend_execute.h" #include "zend_highlight.h"