Re #8483. Add now-required include.
Merge branch 'bugfix/8483_api_xml_memory_leaks' into develop