From 2daa4d33af1284a48eca34b54687dd8ea6b2a261 Mon Sep 17 00:00:00 2001 From: Dave Cottlehuber Date: Mon, 4 Jan 2021 13:41:53 +0000 Subject: [PATCH] flow: fix compilation error on FreeBSD --- flow/Platform.actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) {