]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
Fix builds for missing uuid
authorKeith Busch <kbusch@kernel.org>
Wed, 4 Sep 2019 21:48:06 +0000 (15:48 -0600)
committerKeith Busch <kbusch@kernel.org>
Wed, 4 Sep 2019 21:48:06 +0000 (15:48 -0600)
commite52087198800f01d496feb3cb9c5d1cfe7db186f
tree6ce362740e50cce9e7ab95a9fcae097bc3f94dba
parent0ab137a012b141998011a5be0bf82d02b32b6248
Fix builds for missing uuid

The linux/uuid.h is not a source to define uuid_t.

Use uuid/uuid.h if it is available, otherwise redefine uuid_t in a
single place. Remove the duplicate from nvme.h, only define in
linux/nvme.h.

Signed-off-by: Keith Busch <kbusch@kernel.org>
linux/nvme.h
nvme.h