mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
mingw: fix build failure
This macro seems to be defined only on linux/unix and it fails during mingw build. Its value is '16' (taken from net/if.h) so define it if it's not defined. Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
9998a657fd
commit
d91c8e640b
@ -52,6 +52,10 @@
|
||||
# include <net/if_dl.h>
|
||||
#endif
|
||||
|
||||
#ifndef IFNAMSIZ
|
||||
# define IFNAMSIZ 16
|
||||
#endif
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NONE
|
||||
|
||||
VIR_LOG_INIT("util.netdev");
|
||||
|
Loading…
x
Reference in New Issue
Block a user