From c1cc1b83e4b676c7d7eee0e39ccbfaa1501419fb Mon Sep 17 00:00:00 2001
From: wang--ge <wang__ge@126.com>
Date: Wed, 11 Jan 2023 14:49:22 +0800
Subject: [PATCH] change daxctl include

---
 src/common/os_dimm_ndctl.c | 2 +-
 src/tools/daxio/daxio.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common/os_dimm_ndctl.c b/src/common/os_dimm_ndctl.c
index b528fb9..b8b9c33 100644
--- a/src/common/os_dimm_ndctl.c
+++ b/src/common/os_dimm_ndctl.c
@@ -42,7 +42,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <ndctl/libndctl.h>
-#include <ndctl/libdaxctl.h>
+#include <daxctl/libdaxctl.h>
 
 /* XXX: workaround for missing PAGE_SIZE - should be fixed in linux/ndctl.h */
 #include <sys/user.h>
diff --git a/src/tools/daxio/daxio.c b/src/tools/daxio/daxio.c
index 0d6f62f..0ab9029 100644
--- a/src/tools/daxio/daxio.c
+++ b/src/tools/daxio/daxio.c
@@ -49,7 +49,7 @@
 #include <string.h>
 
 #include <ndctl/libndctl.h>
-#include <ndctl/libdaxctl.h>
+#include <daxctl/libdaxctl.h>
 #include <libpmem.h>
 
 #include "util.h"
-- 
2.27.0

