diff options
author | lloyd <[email protected]> | 2008-02-12 14:34:59 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-02-12 14:34:59 +0000 |
commit | 862a377961b21cafb1313fdcd9e0ef785514695e (patch) | |
tree | 644f5e6fe381a271c069d5d45725465a355836db /modules/es_ftw/es_ftw.cpp | |
parent | 8a0ab0f8508a844d39360e38d0c161d39e91bc67 (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.cpp | 2 |
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; } |