]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
nvme: update include for libnvme
authorDaniel Wagner <dwagner@suse.de>
Tue, 5 Mar 2024 16:37:04 +0000 (17:37 +0100)
committerDaniel Wagner <wagi@monom.org>
Thu, 7 Mar 2024 07:10:30 +0000 (08:10 +0100)
This header file is not a local header file, it's the main header from
libnvme. Thus use the correct include statement.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
fabrics.c
nvme.c

index 1a53b232da236f84bb1227408854061d6c3bf7dd..ad221a02552e591d58db80daf9fb1485ce60672f 100644 (file)
--- a/fabrics.c
+++ b/fabrics.c
 #include <sys/types.h>
 #include <linux/types.h>
 
+#include <libnvme.h>
+
 #include "common.h"
 #include "nvme.h"
 #include "nbft.h"
-#include "libnvme.h"
 #include "nvme-print.h"
 #include "fabrics.h"
 
diff --git a/nvme.c b/nvme.c
index 7b3bcf8c35e1a5deada95808ed686e9233cbf71e..7c122e8c220f9efbe3815863c2b764a30152c836 100644 (file)
--- a/nvme.c
+++ b/nvme.c
        #include <sys/random.h>
 #endif
 
+#include <libnvme.h>
+
 #include "common.h"
 #include "nvme.h"
-#include "libnvme.h"
 #include "nvme-print.h"
 #include "plugin.h"
 #include "util/base64.h"