Fix build on mingw

Last commit unconditionally included a linux-specific header.

Do not do that.
This commit is contained in:
Ján Tomko committed 2015-03-05 12:04:11 +01:00
1 parent c9027d8f44
commit 41c5baeafb
2 files changed
+4 -1

No files matched your search

+4
View File
@@ -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>
-1
View File
@@ -32,7 +32,6 @@
# include "virpci.h"
# include "device_conf.h"
# include <linux/ethtool.h>
# ifdef HAVE_STRUCT_IFREQ
typedef struct ifreq virIfreq;
# else