mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00: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
|
||||
#endif
|
||||
|
||||
#if defined(SIOCETHTOOL) && defined(HAVE_STRUCT_IFREQ)
|
||||
# include <linux/ethtool.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_DECL_LINK_ADDR
|
||||
# include <sys/sockio.h>
|
||||
# include <net/if_dl.h>
|
||||
|
@ -32,7 +32,6 @@
|
||||
# include "virpci.h"
|
||||
# include "device_conf.h"
|
||||
|
||||
# include <linux/ethtool.h>
|
||||
# ifdef HAVE_STRUCT_IFREQ
|
||||
typedef struct ifreq virIfreq;
|
||||
# else
|
||||
|
Loading…
Reference in New Issue
Block a user