summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-12 03:13:48 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-12 13:35:32 +0100
commit700c6087eb58de7af510f747414ea97b07e08b2b (patch)
tree80ced77faf1a8f2252a1ce4e23fa4332cec3c4fc
parent6ce830fa612ca3f3159253c4c37aa9c81e7178ea (diff)
shared: missing.h should include btrfs.h, before redefining some of its definitions
-rw-r--r--src/shared/missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index f226197555..c547479ad2 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -44,6 +44,10 @@
#include <asm/sgidefs.h>
#endif
+#ifdef HAVE_LINUX_BTRFS_H
+#include <linux/btrfs.h>
+#endif
+
#include "macro.h"
#ifndef RLIMIT_RTTIME