summaryrefslogtreecommitdiffstats
path: root/patches/systemd-230/0008-HACK-include-missing.h-in-btrfs-ctree.h-for-BTRFS_UU.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/systemd-230/0008-HACK-include-missing.h-in-btrfs-ctree.h-for-BTRFS_UU.patch')
-rw-r--r--patches/systemd-230/0008-HACK-include-missing.h-in-btrfs-ctree.h-for-BTRFS_UU.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/systemd-230/0008-HACK-include-missing.h-in-btrfs-ctree.h-for-BTRFS_UU.patch b/patches/systemd-230/0008-HACK-include-missing.h-in-btrfs-ctree.h-for-BTRFS_UU.patch
new file mode 100644
index 000000000..f75dd8613
--- /dev/null
+++ b/patches/systemd-230/0008-HACK-include-missing.h-in-btrfs-ctree.h-for-BTRFS_UU.patch
@@ -0,0 +1,24 @@
+From: Michael Olbrich <m.olbrich@pengutronix.de>
+Date: Thu, 19 Nov 2015 16:53:42 +0100
+Subject: [PATCH] HACK: include missing.h in btrfs-ctree.h for BTRFS_UUID_SIZE
+
+This is needed for older Kernel headers without btrfs.h
+
+Not for upstream, but needed for host-systemd.
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+---
+ src/basic/btrfs-ctree.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/basic/btrfs-ctree.h b/src/basic/btrfs-ctree.h
+index 66bdf9736ef5..e9edc8eb5445 100644
+--- a/src/basic/btrfs-ctree.h
++++ b/src/basic/btrfs-ctree.h
+@@ -1,5 +1,6 @@
+ #pragma once
+
++#include "missing.h"
+ #include "macro.h"
+ #include "sparse-endian.h"
+