Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com> Another way is to ifdef prototypes, but I don't think it's better. For the reference libxml2 commit is e03f0a199a67017b2f8052354cf732b2b4cae787.