summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backport/backport-include/linux/uuid.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/backport/backport-include/linux/uuid.h b/backport/backport-include/linux/uuid.h
index 5ffe225b..bc6fbe17 100644
--- a/backport/backport-include/linux/uuid.h
+++ b/backport/backport-include/linux/uuid.h
@@ -3,6 +3,14 @@
#include <linux/version.h>
#include_next <linux/uuid.h>
+#ifndef UUID_STRING_LEN
+/*
+ * The length of a UUID string ("aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee")
+ * not including trailing NUL.
+ */
+#define UUID_STRING_LEN 36
+#endif
+
#if LINUX_VERSION_IS_LESS(4,13,0)
#define guid_t uuid_le
#define uuid_t uuid_be