]> granicus.if.org Git - php/commitdiff
Fix build
authorFelipe Pena <felipe@php.net>
Tue, 18 Mar 2008 00:25:24 +0000 (00:25 +0000)
committerFelipe Pena <felipe@php.net>
Tue, 18 Mar 2008 00:25:24 +0000 (00:25 +0000)
ext/standard/exec.c

index ee6304f68aa4ee98ef639d2cf0912583ff7cbe16..e7ffa272f471085e344c9eb6bbe446484654cd3c 100644 (file)
@@ -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);