From: Andi Gutmans Date: Tue, 3 Oct 2000 14:43:04 +0000 (+0000) Subject: - Fix VC++ warning X-Git-Tag: php-4.0.3RC2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d37b1406010e355d138ca7815319acd1adc435f9;p=php - Fix VC++ warning --- diff --git a/ext/standard/string.c b/ext/standard/string.c index 1f69c7feea..c224e60739 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -697,7 +697,8 @@ PHP_FUNCTION(basename) } /* }}} */ -PHPAPI void php_dirname(char *str, int len) { +PHPAPI void php_dirname(char *str, int len) +{ register char *c; c = str + len - 1; diff --git a/main/main.c b/main/main.c index c7f9ff0943..992e4a1f5f 100644 --- a/main/main.c +++ b/main/main.c @@ -44,6 +44,7 @@ #include #endif #include "zend.h" +#include "zend_extensions.h" #include "php_ini.h" #include "php_globals.h" #include "php_main.h"