diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-01-04 09:38:14 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-01-04 09:38:14 -0500 |
commit | 9686d82daf9c2082fa5d3055ac5b777490a95dc0 (patch) | |
tree | 7fd7ec669090b70b32040ff5d9e5be8a16421433 /glib/gfileutils.c | |
parent | 1e5f11875b65712195e4d0c8d160cdc9f9bbd99f (diff) | |
download | glib-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.c | 2 |
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; |