From: Felipe Pena Date: Tue, 18 Mar 2008 00:25:24 +0000 (+0000) Subject: Fix build X-Git-Tag: php-5.2.6RC3~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d20235426386666ec428644f5e178ed51d2a2d54;p=php Fix build --- diff --git a/ext/standard/exec.c b/ext/standard/exec.c index ee6304f68a..e7ffa272f4 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" @@ -265,6 +266,8 @@ char *php_escape_shell_cmd(char *str) { register int x, y, l; char *cmd; char *p = NULL; + + TSRMLS_FETCH(); l = strlen(str); cmd = safe_emalloc(2, l, 1);