summaryrefslogtreecommitdiff
path: root/glib/gfileutils.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-01-04 09:38:14 -0500
committerMatthias Clasen <mclasen@redhat.com>2011-01-04 09:38:14 -0500
commit9686d82daf9c2082fa5d3055ac5b777490a95dc0 (patch)
tree7fd7ec669090b70b32040ff5d9e5be8a16421433 /glib/gfileutils.c
parent1e5f11875b65712195e4d0c8d160cdc9f9bbd99f (diff)
downloadglib-9686d82daf9c2082fa5d3055ac5b777490a95dc0.tar.gz
Fix build on old kernels
Cope with BTRFS_SUPER_MAGIC not being defined.
Diffstat (limited to 'glib/gfileutils.c')
-rw-r--r--glib/gfileutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gfileutils.c b/glib/gfileutils.c
index fff6492a6..a87f0e97a 100644
--- a/glib/gfileutils.c
+++ b/glib/gfileutils.c
@@ -968,7 +968,7 @@ write_to_temp_file (const gchar *contents,
goto out;
}
-#ifdef __linux__
+#ifdef BTRFS_SUPER_MAGIC
{
struct statfs buf;