]> xenbits.xensource.com Git - libvirt.git/commit
work around MinGW build failure due to its lack of inet_aton
authorJim Meyering <meyering@redhat.com>
Wed, 6 Aug 2008 12:08:49 +0000 (12:08 +0000)
committerJim Meyering <meyering@redhat.com>
Wed, 6 Aug 2008 12:08:49 +0000 (12:08 +0000)
commit783158511af85a181b89127350bf3515a608f603
treeb4c43dfcd8686875580117cf6e68d19e49e00614
parented3c9c382451692f7ad850f258e20be372fc11c2
work around MinGW build failure due to its lack of inet_aton

Use inet_pton instead; pull in gnulib's module by the same name.
* src/network_conf.c (virNetworkDefParseXML): Use inet_pton,
rather than inet_aton.
* bootstrap (modules): Add inet_pton.
* gnulib/lib/inet_pton.c: New file, from gnulib.
ChangeLog
bootstrap
gnulib/lib/inet_pton.c [new file with mode: 0644]
src/network_conf.c