Followup from https://codereview.chromium.org/147513003/

Since linux builds now depend on macros defined in linux/magic.h let's make sure that some of the newer values are set.

Review URL: https://codereview.chromium.org/170823002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252279 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: ef9ef1c38cf4e591e9cc695ffe40328dc87a2a36
diff --git a/base/file_util_linux.cc b/base/file_util_linux.cc
index d737b97..33edc90 100644
--- a/base/file_util_linux.cc
+++ b/base/file_util_linux.cc
@@ -10,6 +10,18 @@
 
 #include "base/files/file_path.h"
 
+// Make sure some of the newer macros from magic.h are defined.
+// TODO(mostynb@opera.com): remove this after 2014.
+#ifndef BTRFS_SUPER_MAGIC
+#define BTRFS_SUPER_MAGIC 0x9123683E
+#endif
+#ifndef HUGETLBFS_MAGIC
+#define HUGETLBFS_MAGIC 0x958458f6
+#endif
+#ifndef TMPFS_MAGIC
+#define TMPFS_MAGIC 0x01021994
+#endif
+
 namespace file_util {
 
 bool GetFileSystemType(const base::FilePath& path, FileSystemType* type) {