The header file asyncns.h cannot be used with a C++ compiler for linking to the library. There are two functions, asyncns_res_query and asyncns_res_search, with an argument in the header file of "int class". This usage of "class" as an argument name cannot compile when used with a C++ compiler.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.