libxml2 2.6.31 would not build for me on win32. when linking, it complained about missing getadddrinfo and freeaddrinfo functions. because i have no clue when it comes to win32, i googled around, which yielded a msdn page that claimed that there are inline implementations of these functions in a certain header, resulting in the following patch.
regards, michael stahl -- "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." -- Douglas Adams *** misc/libxml2-2.6.31/nanohttp.c Tue Aug 28 19:34:00 2007 --- misc/build/libxml2-2.6.31/nanohttp.c Mon Mar 31 18:36:16 2008 *************** *** 68,73 **** --- 68,77 ---- #endif + #ifdef _MSC_VER + #include <Wspiapi.h> /* for getaddrinfo, freeaddrinfo */ + #endif + #ifdef VMS #include <stropts> #define XML_SOCKLEN_T unsigned int _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
