mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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:
1
AUTHORS
1
AUTHORS
@@ -223,6 +223,7 @@ Patches have also been contributed by:
|
|||||||
Lincoln Myers <lincoln_myers@yahoo.com>
|
Lincoln Myers <lincoln_myers@yahoo.com>
|
||||||
Peter Robinson <pbrobinson@gmail.com>
|
Peter Robinson <pbrobinson@gmail.com>
|
||||||
Benjamin Cama <benoar@dolka.fr>
|
Benjamin Cama <benoar@dolka.fr>
|
||||||
|
Duncan Rance <libvirt@dunquino.com>
|
||||||
|
|
||||||
[....send patches to get your name here....]
|
[....send patches to get your name here....]
|
||||||
|
|
||||||
|
|||||||
@@ -545,9 +545,9 @@ int virNetlinkCommand(struct nl_msg *nl_msg ATTRIBUTE_UNUSED,
|
|||||||
*/
|
*/
|
||||||
int virNetlinkEventServiceStop(void)
|
int virNetlinkEventServiceStop(void)
|
||||||
{
|
{
|
||||||
|
# if defined(__linux__) && !defined(HAVE_LIBNL)
|
||||||
netlinkError(VIR_ERR_INTERNAL_ERROR,
|
netlinkError(VIR_ERR_INTERNAL_ERROR,
|
||||||
"%s",
|
"%s",
|
||||||
# if defined(__linux__) && !defined(HAVE_LIBNL)
|
|
||||||
_("virNetlinkEventServiceStop is not supported since libnl was not available"));
|
_("virNetlinkEventServiceStop is not supported since libnl was not available"));
|
||||||
# endif
|
# endif
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user