aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_files_file__util.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-base_files_file__util.h')
-rw-r--r--www/chromium/files/patch-base_files_file__util.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-base_files_file__util.h b/www/chromium/files/patch-base_files_file__util.h
new file mode 100644
index 000000000000..b261921644d5
--- /dev/null
+++ b/www/chromium/files/patch-base_files_file__util.h
@@ -0,0 +1,11 @@
+--- base/files/file_util.h.orig 2016-08-03 22:02:10.000000000 +0300
++++ base/files/file_util.h 2016-09-05 23:00:09.940024000 +0300
+@@ -391,7 +391,7 @@
+ // 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.