build: work with older libnl1 headers
build: work with older libnl1 headers

Ubuntu 10.04 shipped with out-of-the-box libnl1 headers, which
assumed the old gcc semantics of 'extern inline' as a C89 extension:
the function will _always_ be inline if it is used, and that
it may be declared extern inline in headers without a definition,
as long as the definition occurs before any use.  But when C99
added 'extern inline' as a mandatory feature of the language, with
slightly different semantics than gcc (the function MUST have
external linkage, and the inline definition MUST be present
alongside any declaration, where the compiler can then choose
which of the two versions to use), this rendered the use of
'inline' in libnl's header obsolete.  Most distros already solved
this by removing 'inline' (the resulting 'extern' is correct,
regardless of gcc semantics), and libnl-3 does not have the
problem (where it has switched to 'static inline' instead, again
with the definition present, and again, our hack will result in
plain 'static' with no ill effects).  But for the case of building
out of the box, we hack around the broken Ubuntu header.

* src/util/virnetlink.h: Work around libnl issue.

zippy2/libvirt,VenkatDatta/libvirt,eskultety/libvirt,agx/libvirt,cbosdo/libvirt,fabianfreyer/libvirt,jeckersb/libvirt,emaste/libvirt,trainstack/libvirt,VenkatDatta/libvirt,agx/libvirt,jeckersb/libvirt,shugaoye/libvirt,emaste/libvirt,crobinso/libvirt,cbosdo/libvirt,iam-TJ/libvirt,libvirt/libvirt,andreabolognani/libvirt,shugaoye/libvirt,jardasgit/libvirt,nertpinx/libvirt,olafhering/libvirt,zhlcindy/libvirt-1.1.4-maintain,zhlcindy/libvirt-1.1.4-maintain,wiedi/libvirt,warewolf/libvirt,zippy2/libvirt,wiedi/libvirt,zippy2/libvirt,jeckersb/libvirt,VenkatDatta/libvirt,zhlcindy/libvirt-1.1.4-maintain,iam-TJ/libvirt,agx/libvirt,eskultety/libvirt,taget/libvirt,eskultety/libvirt,jardasgit/libvirt,siboulet/libvirt-openvz,shugaoye/libvirt,emaste/libvirt,taget/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,trainstack/libvirt,olafhering/libvirt,libvirt/libvirt,shugaoye/libvirt,iam-TJ/libvirt,siboulet/libvirt-openvz,warewolf/libvirt,warewolf/libvirt,zhlcindy/libvirt-1.1.4-maintain,crobinso/libvirt,bjzhang/libvirt,rlaager/libvirt,cbosdo/libvirt,agx/libvirt,elmarco/libvirt,emaste/libvirt,crobinso/libvirt,libvirt/libvirt,libvirt/libvirt,andreabolognani/libvirt,wiedi/libvirt,jeckersb/libvirt,trainstack/libvirt,elmarco/libvirt,iam-TJ/libvirt,novel/fbsd-libvirt,jeckersb/libvirt,siboulet/libvirt-openvz,wiedi/libvirt,jeckersb/libvirt,taget/libvirt,nertpinx/libvirt,eskultety/libvirt,iam-TJ/libvirt,elmarco/libvirt,iam-TJ/libvirt,bjzhang/libvirt,emaste/libvirt,elmarco/libvirt,trainstack/libvirt,jardasgit/libvirt,wiedi/libvirt,jfehlig/libvirt,zippy2/libvirt,siboulet/libvirt-openvz,jardasgit/libvirt,trainstack/libvirt,jfehlig/libvirt,bjzhang/libvirt,elmarco/libvirt,siboulet/libvirt-openvz,warewolf/libvirt,crobinso/libvirt,bjzhang/libvirt,VenkatDatta/libvirt,rlaager/libvirt,novel/fbsd-libvirt,datto/libvirt,jeckersb/libvirt,fabianfreyer/libvirt,novel/fbsd-libvirt,zhlcindy/libvirt-1.1.4-maintain,datto/libvirt,jardasgit/libvirt,novel/fbsd-libvirt,rlaager/libvirt,olafhering/libvirt,emaste/libvirt,rlaager/libvirt,warewolf/libvirt,trainstack/libvirt,taget/libvirt,trainstack/libvirt,emaste/libvirt,cbosdo/libvirt,datto/libvirt,olafhering/libvirt,jfehlig/libvirt,shugaoye/libvirt,nertpinx/libvirt,novel/fbsd-libvirt,andreabolognani/libvirt,iam-TJ/libvirt,novel/fbsd-libvirt,bjzhang/libvirt,warewolf/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,wiedi/libvirt,wiedi/libvirt,novel/fbsd-libvirt,agx/libvirt,eskultety/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,rlaager/libvirt,warewolf/libvirt,datto/libvirt,jfehlig/libvirt,datto/libvirt,novel/fbsd-libvirt,nertpinx/libvirt,taget/libvirt,novel/fbsd-libvirt,cbosdo/libvirt