Patches for Solaris/Illumos

Tested with OpenIndiana a151a9 and the current masters of libqb and corosync.
Corosync and pacemaker start without any errors.

Andreas
This should do it:  https://github.com/beekhof/pacemaker/commit/5e5dde9