]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
fix build without libuuid
authorChristoph Hellwig <hch@lst.de>
Wed, 28 Jun 2017 23:09:12 +0000 (16:09 -0700)
committerKeith Busch <keith.busch@intel.com>
Thu, 29 Jun 2017 17:41:47 +0000 (13:41 -0400)
Signed-off-by: Christoph Hellwig <hch@lst.de>
nvme.h

diff --git a/nvme.h b/nvme.h
index b796961a22449fe3ee9503f08194685f4e9d5a33..5530f90c5b804288f0db874b7b56c747d7795cb4 100644 (file)
--- a/nvme.h
+++ b/nvme.h
@@ -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