mirror of
https://github.com/php/php-src.git
synced 2025-08-17 14:38:49 +02:00
Fix build
This commit is contained in:
parent
085af56710
commit
01dc595706
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
||||||
#include "safe_mode.h"
|
#include "safe_mode.h"
|
||||||
#include "ext/standard/head.h"
|
#include "ext/standard/head.h"
|
||||||
#include "ext/standard/file.h"
|
#include "ext/standard/file.h"
|
||||||
|
#include "basic_functions.h"
|
||||||
#include "exec.h"
|
#include "exec.h"
|
||||||
#include "php_globals.h"
|
#include "php_globals.h"
|
||||||
#include "SAPI.h"
|
#include "SAPI.h"
|
||||||
|
@ -268,6 +269,8 @@ PHPAPI char *php_escape_shell_cmd(char *str)
|
||||||
char *p = NULL;
|
char *p = NULL;
|
||||||
size_t estimate = (2 * l) + 1;
|
size_t estimate = (2 * l) + 1;
|
||||||
|
|
||||||
|
TSRMLS_FETCH();
|
||||||
|
|
||||||
cmd = safe_emalloc(2, l, 1);
|
cmd = safe_emalloc(2, l, 1);
|
||||||
|
|
||||||
for (x = 0, y = 0; x < l; x++) {
|
for (x = 0, y = 0; x < l; x++) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue