mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-21 19:02:25 +00:00
Build error on OSX in src/util/virnetlink.c
I'm building on OSX with no libnl. I had to do this to get src/util/virnetlink.c to compile:
This commit is contained in:
parent
ce43483caf
commit
e91c8b1805
1
AUTHORS
1
AUTHORS
@ -223,6 +223,7 @@ Patches have also been contributed by:
|
||||
Lincoln Myers <lincoln_myers@yahoo.com>
|
||||
Peter Robinson <pbrobinson@gmail.com>
|
||||
Benjamin Cama <benoar@dolka.fr>
|
||||
Duncan Rance <libvirt@dunquino.com>
|
||||
|
||||
[....send patches to get your name here....]
|
||||
|
||||
|
@ -545,9 +545,9 @@ int virNetlinkCommand(struct nl_msg *nl_msg ATTRIBUTE_UNUSED,
|
||||
*/
|
||||
int virNetlinkEventServiceStop(void)
|
||||
{
|
||||
# if defined(__linux__) && !defined(HAVE_LIBNL)
|
||||
netlinkError(VIR_ERR_INTERNAL_ERROR,
|
||||
"%s",
|
||||
# if defined(__linux__) && !defined(HAVE_LIBNL)
|
||||
_("virNetlinkEventServiceStop is not supported since libnl was not available"));
|
||||
# endif
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user