compilefix

This commit is contained in:
Mathias Gumz 2009-03-04 20:24:59 +01:00
parent c4d8e9c8e1
commit 2f9cce3687

View file

@ -473,7 +473,7 @@ string read_file(const string& filename) {
if (it != file_cache.end()) if (it != file_cache.end())
return it->second; return it->second;
stat s; struct stat s;
stat(filename.c_str(), &s); stat(filename.c_str(), &s);
if (! (s.st_mode & S_IFREG)) if (! (s.st_mode & S_IFREG))