summaryrefslogtreecommitdiff
path: root/btrfs-list.h
diff options
context:
space:
mode:
Diffstat (limited to 'btrfs-list.h')
-rw-r--r--btrfs-list.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/btrfs-list.h b/btrfs-list.h
index 2894451d..d3fd9e20 100644
--- a/btrfs-list.h
+++ b/btrfs-list.h
@@ -16,7 +16,11 @@
* Boston, MA 021110-1307, USA.
*/
+#if BTRFS_FLAT_INCLUDES
#include "kerncompat.h"
+#else
+#include <btrfs/kerncompat.h>
+#endif /* BTRFS_FLAT_INCLUDES */
#define BTRFS_LIST_LAYOUT_DEFAULT 0
#define BTRFS_LIST_LAYOUT_TABLE 1