summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-03-18 00:24:21 +0000
committerFelipe Pena <felipe@php.net>2008-03-18 00:24:21 +0000
commit01dc595706ac4cc2e3abfb6c17f4789d5742a62c (patch)
tree0508d8de3bd9bc8b0f2ec7eef5f2029a8b5df735
parent085af567107d0568d38ba8b12dbce19b949c573d (diff)
downloadphp-git-01dc595706ac4cc2e3abfb6c17f4789d5742a62c.tar.gz
Fix build
-rw-r--r--ext/standard/exec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index 32e0f693ea..f1b9906409 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -25,6 +25,7 @@
#include "safe_mode.h"
#include "ext/standard/head.h"
#include "ext/standard/file.h"
+#include "basic_functions.h"
#include "exec.h"
#include "php_globals.h"
#include "SAPI.h"
@@ -267,6 +268,8 @@ PHPAPI char *php_escape_shell_cmd(char *str)
char *cmd;
char *p = NULL;
size_t estimate = (2 * l) + 1;
+
+ TSRMLS_FETCH();
cmd = safe_emalloc(2, l, 1);