summaryrefslogtreecommitdiff
path: root/send-stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'send-stream.h')
-rw-r--r--send-stream.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/send-stream.h b/send-stream.h
index 133a3105..39901f86 100644
--- a/send-stream.h
+++ b/send-stream.h
@@ -28,6 +28,12 @@
extern "C" {
#endif
+#if BTRFS_FLAT_INCLUDES
+#include "kerncompat.h"
+#else
+#include <btrfs/kerncompat.h>
+#endif /* BTRFS_FLAT_INCLUDES */
+
struct btrfs_send_ops {
int (*subvol)(const char *path, const u8 *uuid, u64 ctransid,
void *user);