From: Jorge Pereira Date: Wed, 18 Mar 2020 00:46:06 +0000 (-0300) Subject: Remove MINGW32 ifdef's X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2c4cb2db594e7eb7d2d990f94f1392806565adc;p=thirdparty%2Ffreeradius-server.git Remove MINGW32 ifdef's --- diff --git a/src/protocols/dhcpv4/raw.c b/src/protocols/dhcpv4/raw.c index e82baba4bbd..b618ecdc109 100644 --- a/src/protocols/dhcpv4/raw.c +++ b/src/protocols/dhcpv4/raw.c @@ -36,10 +36,7 @@ #include #include #include - -#ifndef __MINGW32__ -# include -#endif +#include #ifdef HAVE_SYS_SOCKET_H # include @@ -53,9 +50,7 @@ # include #endif -#ifndef __MINGW32__ -# include -#endif +#include #ifdef HAVE_LINUX_IF_PACKET_H /** Open a raw socket to read/write packets from/to diff --git a/src/protocols/dhcpv4/udp.c b/src/protocols/dhcpv4/udp.c index e7b99bdd133..d947100874c 100644 --- a/src/protocols/dhcpv4/udp.c +++ b/src/protocols/dhcpv4/udp.c @@ -36,9 +36,7 @@ #include #include -#ifndef __MINGW32__ -# include -#endif +#include #ifdef HAVE_SYS_SOCKET_H # include @@ -52,9 +50,7 @@ # include #endif -#ifndef __MINGW32__ -# include -#endif +#include #ifdef SIOCSARP /** Forcibly add an ARP entry so we can send unicast packets to hosts that don't have IP addresses yet