]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
private.h: Add required includes
authorJeremy Kerr <jk@codeconstruct.com.au>
Wed, 20 Oct 2021 04:21:13 +0000 (12:21 +0800)
committerJeremy Kerr <jk@codeconstruct.com.au>
Wed, 20 Oct 2021 10:10:53 +0000 (18:10 +0800)
In private.h, we use the list, nvme_fabrics_config and (optional) UUID
types, so add their appropriate #includes.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
src/nvme/private.h

index 29e96bf322ba94125b4d04d7c1167b4cc8baecc8..355e2436f4b8c2451c396aad0b3764940e09a77e 100644 (file)
@@ -9,6 +9,15 @@
 #ifndef _LIBNVME_PRIVATE_H
 #define _LIBNVME_PRIVATE_H
 
+#include <ccan/list/list.h>
+
+#include "fabrics.h"
+
+#ifdef CONFIG_LIBUUID
+#include <uuid/uuid.h>
+#endif
+
+
 extern const char *nvme_ctrl_sysfs_dir;
 extern const char *nvme_subsys_sysfs_dir;
 extern const char *nvme_ns_sysfs_dir;