pidgin/pidgin

Fixing building on Haiku
release-2.x.y
2021-09-11, Haiku Ports Team
f14a311b8313
Fixing building on Haiku

This patch came from Haiku and was part of their GSoC project for creating a libpurple UI. The original patch can be found at https://github.com/haikuports/haikuports/commit/85fd8fe1ba987c82bc94968a82531c05247b52ad

Testing Done:
Compile only.

Reviewed at https://reviews.imfreedom.org/r/916/
For information on writing a plugin for Purple, Pidgin or Finch, go
http://developer.pidgin.im and click on API. From there, see the
HOWTOs in the "Related Pages" section.
You can also generate this documentation locally by installing
doxygen and graphviz dot, then running "make docs" in the
source tree. The documentation will be in the docs/html directory.