diff options
Diffstat (limited to 'www/iridium/files/patch-base_files_file__util.h')
-rw-r--r-- | www/iridium/files/patch-base_files_file__util.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/iridium/files/patch-base_files_file__util.h b/www/iridium/files/patch-base_files_file__util.h new file mode 100644 index 000000000000..9600826a55db --- /dev/null +++ b/www/iridium/files/patch-base_files_file__util.h @@ -0,0 +1,11 @@ +--- base/files/file_util.h.orig 2017-04-19 19:06:28 UTC ++++ base/files/file_util.h +@@ -406,7 +406,7 @@ BASE_EXPORT bool VerifyPathControlledByA + // the directory |path|, in the number of FilePath::CharType, or -1 on failure. + BASE_EXPORT int GetMaximumPathComponentLength(const base::FilePath& path); + +-#if defined(OS_LINUX) ++#if defined(OS_LINUX) || defined(OS_BSD) + // Broad categories of file systems as returned by statfs() on Linux. + enum FileSystemType { + FILE_SYSTEM_UNKNOWN, // statfs failed. |