Skip to content

Commit 43c01a9

Browse files
committed
dmalloc build fix.
`error: expected declaration specifiers or ‘...’ before string constant 32 | extern int posix_memalign (void **, size_t, size_t);`
1 parent 6f87a5c commit 43c01a9

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

sapi/cli/php_cli_server.c

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@
1515
+----------------------------------------------------------------------+
1616
*/
1717

18+
#include "SAPI.h"
19+
#include "php.h"
20+
#include "php_ini.h"
21+
#include "php_main.h"
22+
#include "php_globals.h"
23+
#include "php_variables.h"
24+
#include "zend_hash.h"
25+
#include "zend_modules.h"
26+
#include "fopen_wrappers.h"
27+
#include "http_status_codes.h"
28+
1829
#include <stdio.h>
1930
#include <stdlib.h>
2031
#include <fcntl.h>
@@ -49,17 +60,6 @@
4960
#include <dlfcn.h>
5061
#endif
5162

52-
#include "SAPI.h"
53-
#include "php.h"
54-
#include "php_ini.h"
55-
#include "php_main.h"
56-
#include "php_globals.h"
57-
#include "php_variables.h"
58-
#include "zend_hash.h"
59-
#include "zend_modules.h"
60-
#include "fopen_wrappers.h"
61-
#include "http_status_codes.h"
62-
6363
#include "zend_compile.h"
6464
#include "zend_execute.h"
6565
#include "zend_highlight.h"

0 commit comments

Comments
 (0)