aboutsummaryrefslogtreecommitdiffstats
path: root/modules/es_ftw/es_ftw.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-02-12 14:34:59 +0000
committerlloyd <[email protected]>2008-02-12 14:34:59 +0000
commit862a377961b21cafb1313fdcd9e0ef785514695e (patch)
tree644f5e6fe381a271c069d5d45725465a355836db /modules/es_ftw/es_ftw.cpp
parent8a0ab0f8508a844d39360e38d0c161d39e91bc67 (diff)
Fix compilation with GCC 3.2 - it doesn't like the :: namespace specification
for struct stat
Diffstat (limited to 'modules/es_ftw/es_ftw.cpp')
-rw-r--r--modules/es_ftw/es_ftw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/es_ftw/es_ftw.cpp b/modules/es_ftw/es_ftw.cpp
index 63531eb53..cbee7396d 100644
--- a/modules/es_ftw/es_ftw.cpp
+++ b/modules/es_ftw/es_ftw.cpp
@@ -71,7 +71,7 @@ void FTW_EntropySource::gather_from_dir(const std::string& dirname)
const std::string filename = dirname + '/' + entry->d_name;
- struct ::stat stat_buf;
+ struct stat stat_buf;
if(::lstat(filename.c_str(), &stat_buf) == -1)
{ entry = ::readdir(dir); continue; }