summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2019-10-04 17:23:34 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2019-10-04 17:31:55 +0200
commitebc9274be07299e1defd332685a2dff2c5b43cdf (patch)
treed601cf75226249b6af7ebdef92d3c0e8a4193541
parenta68258339da7e56910a2a3f6f98e43424ac219b6 (diff)
downloadlvm2-ebc9274be07299e1defd332685a2dff2c5b43cdf.tar.gz
cmirrord: deamon links libdm
Correct included header files for this outdated tool since it's linked with libdm, it need to use header files from this dir.
-rw-r--r--daemons/cmirrord/cluster.h2
-rw-r--r--daemons/cmirrord/functions.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/daemons/cmirrord/cluster.h b/daemons/cmirrord/cluster.h
index 0efbd64bf..ccb2f358f 100644
--- a/daemons/cmirrord/cluster.h
+++ b/daemons/cmirrord/cluster.h
@@ -12,8 +12,8 @@
#ifndef _LVM_CLOG_CLUSTER_H
#define _LVM_CLOG_CLUSTER_H
-#include "libdm/misc/dm-log-userspace.h"
#include "libdm/libdevmapper.h"
+#include "libdm/misc/dm-log-userspace.h"
#define DM_ULOG_RESPONSE 0x1000U /* in last byte of 32-bit value */
#define DM_ULOG_CHECKPOINT_READY 21
diff --git a/daemons/cmirrord/functions.h b/daemons/cmirrord/functions.h
index 8a7301d01..524fd0ba2 100644
--- a/daemons/cmirrord/functions.h
+++ b/daemons/cmirrord/functions.h
@@ -12,7 +12,8 @@
#ifndef _LVM_CLOG_FUNCTIONS_H
#define _LVM_CLOG_FUNCTIONS_H
-#include "device_mapper/misc/dm-log-userspace.h"
+#include "libdm/libdevmapper.h"
+#include "libdm/misc/dm-log-userspace.h"
#include "cluster.h"
#define LOG_RESUMED 1