30 lines
862 B
Diff
30 lines
862 B
Diff
|
commit 6a9c3c80245f6fd84433e0c1c65c63b4f576350e
|
|||
|
Author: Gao,Yan <ygao@suse.com>
|
|||
|
Date: Tue Mar 7 00:23:03 2017 +0100
|
|||
|
|
|||
|
Build: lrmd: Include libxml/tree.h in lrmd.h
|
|||
|
|
|||
|
65d0b80 introduced "xmlNode *versioned_params" in lrmd_event_data_t but
|
|||
|
without including libxml/tree.h in lrmd.h.
|
|||
|
|
|||
|
Sbd failed to build against it:
|
|||
|
|
|||
|
In file included from /usr/include/pacemaker/crm/common/util.h:33:0,
|
|||
|
from sbd-inquisitor.c:19:
|
|||
|
/usr/include/pacemaker/crm/lrmd.h:241:5: error: unknown type name ‘xmlNode’
|
|||
|
xmlNode *versioned_params;
|
|||
|
^
|
|||
|
|
|||
|
diff --git a/include/crm/lrmd.h b/include/crm/lrmd.h
|
|||
|
index 446b39c..6f829f7 100644
|
|||
|
--- a/include/crm/lrmd.h
|
|||
|
+++ b/include/crm/lrmd.h
|
|||
|
@@ -23,6 +23,7 @@
|
|||
|
* \ingroup lrmd
|
|||
|
*/
|
|||
|
#include <stdbool.h>
|
|||
|
+#include <libxml/tree.h>
|
|||
|
#include <crm/services.h>
|
|||
|
|
|||
|
#ifndef LRMD__H
|