]> xenbits.xensource.com Git - libvirt.git/commit
Portability fixes for non-linux or old linux platforms
authorDaniel Veillard <veillard@redhat.com>
Wed, 29 Aug 2012 01:21:38 +0000 (09:21 +0800)
committerDaniel Veillard <veillard@redhat.com>
Wed, 29 Aug 2012 01:21:38 +0000 (09:21 +0800)
commitd3bbe338803c7540e0f1d3092ec7c08b5a6f84bb
tree4ed87ee01704663bd2e2b53ae1a5e01786005ee4
parentf2f0af3960742434a35348628fccbc8169805df3
Portability fixes for non-linux or old linux platforms

The commits d57567940153147f4d43875fb92c3030b3178b03 and
080bf330e3749d94ebe094f8deca0e3e67d3f2fe made use directly of
macro defined in recent linux netlink version. Make those
part conditional on the definition

* daemon/libvirtd.c: do not use NETLINK_ROUTE and NETLINK_KOBJECT_UEVENT
  without some check first
daemon/libvirtd.c