Skip to contentSkip to conversation

fix build without libuuid

PATCH New Christoph Hellwig 2 participants 2 messages Jun 28, 2017 – Jun 29, 2017 NVMe

lore
Share & tools
lore

Christoph Hellwig

author maintainer
#0 lore raw

PATCH 1/1 fix build without libuuid

Signed-off-by Christoph Hellwig <hch at lst.de>
---
 nvme.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
nvme.h +2 -1
index b796961..5530f90 100644
@@ -17,6 +17,7 @@
 
 #include <stdbool.h>
 #include <endian.h>
+#include <stdint.h>
 #include "plugin.h"
 #include "json.h"
 
@@ -26,7 +27,7 @@
 #include <uuid/uuid.h>
 #else
 typedef struct {
-	__u8 b[16];
+	uint8_t b[16];
 } uuid_t;
 #endif
 
Signature · 1 line
2.11.0
Applied
#1 lore raw

PATCH 1/1 fix build without libuuid

Thanks, applied. An issue was opened on github for this reason too, so this was good timing.