diff options
Diffstat (limited to 'src/drivers/driver_wired.c')
-rw-r--r-- | src/drivers/driver_wired.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/drivers/driver_wired.c b/src/drivers/driver_wired.c index f95f3ccf5b66a..422a22064ebe2 100644 --- a/src/drivers/driver_wired.c +++ b/src/drivers/driver_wired.c @@ -8,12 +8,17 @@ */ #include "includes.h" + +#include "common.h" +#include "eloop.h" +#include "driver.h" + #include <sys/ioctl.h> +#undef IFNAMSIZ #include <net/if.h> #ifdef __linux__ #include <netpacket/packet.h> #include <net/if_arp.h> -#include <net/if.h> #endif /* __linux__ */ #if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__) #include <net/if_dl.h> @@ -23,10 +28,6 @@ #include <sys/sockio.h> #endif /* __sun__ */ -#include "common.h" -#include "eloop.h" -#include "driver.h" - #ifdef _MSC_VER #pragma pack(push, 1) #endif /* _MSC_VER */ |