Patches for Solaris/Illumos

Tested with OpenIndiana a151a9 and the current masters of libqb and corosync.
Corosync and pacemaker start without any errors.

Andreas
It just looks like but is not the same.

The content in the #else block produces errors:
With content of #else
ld: warning: file ../lib/common/.libs/libcrmcommon.so: linked to /export/builds/grueni-pacemaker/lib/common/.libs/libcrmcommon.so: attempted multiple inclusion of file
Undefined                       first referenced
 symbol                             in file
__swab32                            /export/builds/grueni-pacemaker/lib/common/.libs/libcrmcommon.so
__swab64                            /export/builds/grueni-pacemaker/lib/common/.libs/libcrmcommon.so

The difference is the usage of two statements instead of a part of a statement.
I could not find any other definition than this one.
Could this be a problem of gcc 4.4? Or precompiler options?