Perfect!<div>Thanks for taking the time to work that one out :)<span></span><br><br>On Thursday, February 7, 2013, Vladislav Bogdanov wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
06.02.2013 00:47, Andrew Beekhof wrote:<br>
[...]<br>
> I thought it was supposed to be legal to do this, its not like the definitions are different :-/<br>
> Grumble.<br>
<br>
Following fixes this issue for me on EL6.<br>
<br>
diff --git a/include/crm/common/ipcs.h b/include/crm/common/ipcs.h<br>
index 5202bbc..b7991ae 100644<br>
--- a/include/crm/common/ipcs.h<br>
+++ b/include/crm/common/ipcs.h<br>
@@ -27,7 +27,8 @@<br>
# include <gnutls/gnutls.h><br>
# endif<br>
<br>
-typedef struct mainloop_io_s mainloop_io_t;<br>
+#include <crm/common/mainloop.h><br>
+<br>
typedef struct crm_client_s crm_client_t;<br>
<br>
enum client_type<br>
diff --git a/include/crm/common/mainloop.h b/include/crm/common/mainloop.h<br>
index 6bba0ac..eca3080 100644<br>
--- a/include/crm/common/mainloop.h<br>
+++ b/include/crm/common/mainloop.h<br>
@@ -43,6 +43,8 @@ gboolean mainloop_add_signal(int sig, void (*dispatch) (int sig));<br>
<br>
gboolean mainloop_destroy_signal(int sig);<br>
<br>
+typedef struct mainloop_io_s mainloop_io_t;<br>
+<br>
#include <crm/common/ipc.h><br>
#include <crm/common/ipcs.h><br>
<br>
@@ -57,7 +59,6 @@ qb_ipcs_service_t *mainloop_add_ipc_server(<br>
<br>
void mainloop_del_ipc_server(qb_ipcs_service_t *server);<br>
<br>
-typedef struct mainloop_io_s mainloop_io_t;<br>
<br>
mainloop_io_t *mainloop_add_ipc_client(<br>
const char *name, int priority, size_t max_size, void *userdata, struct ipc_client_callbacks *callbacks);<br>
<br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="javascript:;" onclick="_e(event, 'cvml', 'Pacemaker@oss.clusterlabs.org')">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote></div>