mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
Fix build on mingw
Last commit unconditionally included a linux-specific header. Do not do that.
This commit is contained in:
1 parent
c9027d8f44
commit
41c5baeafb
2 files changed
+4
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user