summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2009-05-04 19:55:47 +0000
committerDerick Rethans <derick@php.net>2009-05-04 19:55:47 +0000
commit53bb83ab8cbc376085722af6e7d2667f1ea94970 (patch)
tree09fcf6320fd5fa403116499a0420fd0d8563cf17
parentce86c511c479fa34d1ee81fa4c56c9ccb7f32019 (diff)
downloadphp-git-53bb83ab8cbc376085722af6e7d2667f1ea94970.tar.gz
- MFH: Fixed warnings
-rw-r--r--main/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c
index 28362578e3..de964a80ca 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
@@ -520,7 +521,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. */