You should report a bug to both of those libraries for not prefixing their stuff with the library name. Until they fix it, isolate one of the libraries into its own translation unit (include it in a single .c file, provide your own wrappers for it, and don't include the other library in the same file).
↧