aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_files_file__util.h
blob: 8b78f44f3adfc03eedcd363d939aafa0ce63e110 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- base/files/file_util.h.orig	2019-04-30 22:22:28 UTC
+++ base/files/file_util.h
@@ -449,7 +449,7 @@ BASE_EXPORT bool VerifyPathControlledByAdmin(const bas
 // 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) || defined(OS_AIX)
+#if defined(OS_LINUX) || defined(OS_AIX) || defined(OS_BSD)
 // Broad categories of file systems as returned by statfs() on Linux.
 enum FileSystemType {
   FILE_SYSTEM_UNKNOWN,  // statfs failed.