diff --git a/flow/Platform.actor.cpp b/flow/Platform.actor.cpp index 265c96743c..7d8620c6fe 100644 --- a/flow/Platform.actor.cpp +++ b/flow/Platform.actor.cpp @@ -2406,7 +2406,7 @@ ACTOR Future> 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 ) {