From: Derick Rethans Date: Mon, 4 May 2009 19:55:42 +0000 (+0000) Subject: - MFH: Fixed warnings X-Git-Tag: php-5.2.10RC1~126 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ece5a103e35d8441771fa34b3fedf6ec6fc3463;p=php - MFH: Fixed warnings --- diff --git a/main/main.c b/main/main.c index 517bc49a47..85cfe1741d 100644 --- a/main/main.c +++ b/main/main.c @@ -59,6 +59,7 @@ #include "fopen_wrappers.h" #include "ext/standard/php_standard.h" #include "ext/standard/php_string.h" +#include "ext/date/php_date.h" #include "php_variables.h" #include "ext/standard/credits.h" #ifdef PHP_WIN32 @@ -473,7 +474,6 @@ static int module_shutdown = 0; PHPAPI void php_log_err(char *log_message TSRMLS_DC) { int fd = -1; - struct tm tmbuf; time_t error_time; /* Try to use the specified logging location. */