Fix compile errors with gcc 4.3

This commit is contained in:
Nathan Jones 2008-05-11 19:53:20 -04:00 committed by John Wiegley
parent 627769ccc8
commit 780135281d
3 changed files with 3 additions and 0 deletions

View file

@ -4,6 +4,7 @@
#include <list>
#include <sstream>
#include <cstdlib>
#include <memory>
#include <gmp.h>

View file

@ -7,6 +7,7 @@
#include <ctime>
#include <cctype>
#include <climits>
date_t date_t::now(std::time(NULL));
int date_t::current_year = date_t::now.year();

View file

@ -19,6 +19,7 @@
#include <cctype>
#include <cstdio>
#include <cstdlib>
#include <climits>
#ifdef HAVE_REALPATH
extern "C" char *realpath(const char *, char resolved_path[]);