mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Fix build on mingw
Last commit unconditionally included a linux-specific header. Do not do that.
This commit is contained in:
parent
c9027d8f44
commit
41c5baeafb
@ -47,6 +47,10 @@
|
|||||||
# undef HAVE_STRUCT_IFREQ
|
# undef HAVE_STRUCT_IFREQ
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(SIOCETHTOOL) && defined(HAVE_STRUCT_IFREQ)
|
||||||
|
# include <linux/ethtool.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if HAVE_DECL_LINK_ADDR
|
#if HAVE_DECL_LINK_ADDR
|
||||||
# include <sys/sockio.h>
|
# include <sys/sockio.h>
|
||||||
# include <net/if_dl.h>
|
# include <net/if_dl.h>
|
||||||
|
@ -32,7 +32,6 @@
|
|||||||
# include "virpci.h"
|
# include "virpci.h"
|
||||||
# include "device_conf.h"
|
# include "device_conf.h"
|
||||||
|
|
||||||
# include <linux/ethtool.h>
|
|
||||||
# ifdef HAVE_STRUCT_IFREQ
|
# ifdef HAVE_STRUCT_IFREQ
|
||||||
typedef struct ifreq virIfreq;
|
typedef struct ifreq virIfreq;
|
||||||
# else
|
# else
|
||||||
|
Loading…
Reference in New Issue
Block a user