559483a527
- Build: lrmd: Include libxml/tree.h in lrmd.h * pacemaker-lrmd.h-include-libxml.patch - libfencing,fencing: properly remap "action" in configuration - libservices: ensure recurring actions table is created before using - libservices: improve error messages when creating operation - libservices: properly detect in-flight systemd/upstart ops when kicking - libservices: properly cancel in-flight systemd/upstart op - libservices: handle in-flight case first when cancelling an operation - libservices: prevent use-after-free when freeing an operation - libservices: ensure completed ops aren't on blocked ops list - libcrmcommon: assert if can't generate operation key - libcrmcommon: improve remote connection polling messages - crmd: clear failure only for requested node - crmd: improve message when clearing failures - pengine,libpe_status: make failcount clearing messages more helpful - pengine,libpe_status: don't clear same fail-count twice - cib: properly mark variable as volatile - libcib: avoid memory leak in query_node_uuid() - tools: avoid NULL dereference in crm_resource debug message - cib,libcrmcommon,lrmd: handle IP addresses better in messages - tools: crm_attribute should prefer node name from environment - libcrmcommon: Correctly delete XML comments according to their positions (bsc#1024037) - libcrmcommon: Correctly compare XML comments to prevent crmd from getting into infinite election loop (bsc#1024037) - crmd,libcrmcluster: minor log message improvements - tools: avoid deprecated function in notifyServicelogEvent - libcrmcommon,pengine,tools: pass local node name to resource agents - use callback instead of sync call - libcib: make querying node uuid more efficient - tools: allow regular expression with crm_attribute OBS-URL: https://build.opensuse.org/request/show/477365 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=260
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
|