chiark / gitweb /
shared: missing.h should include btrfs.h, before redefining some of its definitions
authorLennart Poettering <lennart@poettering.net>
Fri, 12 Dec 2014 02:13:48 +0000 (03:13 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 12 Dec 2014 12:35:32 +0000 (13:35 +0100)
src/shared/missing.h

index f226197..c547479 100644 (file)
 #include <asm/sgidefs.h>
 #endif
 
 #include <asm/sgidefs.h>
 #endif
 
+#ifdef HAVE_LINUX_BTRFS_H
+#include <linux/btrfs.h>
+#endif
+
 #include "macro.h"
 
 #ifndef RLIMIT_RTTIME
 #include "macro.h"
 
 #ifndef RLIMIT_RTTIME