Lars put a lot of work into making sure that portability.h is included first, everywhere. However this broke a few things when building against heartbeat headers that have been installed (usually somewhere under /usr/include or /usr/local/include). This patch should resolve this problem without undoing all of Lars's hard work. As an asside: I think that portability.h is a virus that has infected all of heartbeat's code and now must also infect all code that builds against heartbeat. I wish that it didn't need to be included all over the place. Especially in headers to be installed on the system. However, I respect Lars's opinion that this is the best way to resolve some weird build problems in the current tree.
Lars put a lot of work into making sure that portability.h
is included first, everywhere. However this broke a few
things when building against heartbeat headers that
have been installed (usually somewhere under /usr/include or
/usr/local/include).
This patch should resolve this problem without undoing all of
Lars's hard work.
As an asside: I think that portability.h is a virus that has
infected all of heartbeat's code and now must also infect all
code that builds against heartbeat. I wish that it didn't need
to be included all over the place. Especially in headers to
be installed on the system. However, I respect Lars's opinion
that this is the best way to resolve some weird build problems
in the current tree.

CVS patchset: 1604
CVS date: 2003/02/05 09:06:32

--HG--
extra : convert_revision : db5e920dde4d04c27c7609b8649e8241a784ae54

asp24/resource-agents,asp24/resource-agents,stevenraspudic/resource-agents,stevenraspudic/resource-agents,stevenraspudic/resource-agents,asp24/resource-agents