flow: fix compilation error on FreeBSD

This commit is contained in:
Dave Cottlehuber 2021-01-04 13:41:53 +00:00
parent c8950490be
commit 2daa4d33af
1 changed files with 1 additions and 1 deletions

View File

@ -2406,7 +2406,7 @@ ACTOR Future<vector<std::string>> findFiles( std::string directory, std::string
return result;
}
#elif (defined(__linux__) || defined(__APPLE__))
#elif (defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__))
#define FILE_ATTRIBUTE_DATA mode_t
bool acceptFile( FILE_ATTRIBUTE_DATA fileAttributes, std::string const& name, std::string const& extension ) {