]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Remove MINGW32 ifdef's
authorJorge Pereira <jpereiran@gmail.com>
Wed, 18 Mar 2020 00:46:06 +0000 (21:46 -0300)
committerAlan DeKok <aland@freeradius.org>
Wed, 18 Mar 2020 21:11:55 +0000 (17:11 -0400)
src/protocols/dhcpv4/raw.c
src/protocols/dhcpv4/udp.c

index e82baba4bbd734c05867bee2f839862f8d8df22e..b618ecdc109b94c35998c2777b080f83e735d3a7 100644 (file)
 #include <stddef.h>
 #include <stdint.h>
 #include <talloc.h>
-
-#ifndef __MINGW32__
-#  include <sys/ioctl.h>
-#endif
+#include <sys/ioctl.h>
 
 #ifdef HAVE_SYS_SOCKET_H
 #  include <sys/socket.h>
@@ -53,9 +50,7 @@
 #  include <linux/if_ether.h>
 #endif
 
-#ifndef __MINGW32__
-#  include <net/if_arp.h>
-#endif
+#include <net/if_arp.h>
 
 #ifdef HAVE_LINUX_IF_PACKET_H
 /** Open a raw socket to read/write packets from/to
index e7b99bdd1331e57d99ad93c01a138ff6da622ec7..d947100874c05f7dd3b79997f70fda3a6773db0b 100644 (file)
@@ -36,9 +36,7 @@
 #include <stddef.h>
 #include <talloc.h>
 
-#ifndef __MINGW32__
-#  include <sys/ioctl.h>
-#endif
+#include <sys/ioctl.h>
 
 #ifdef HAVE_SYS_SOCKET_H
 #  include <sys/socket.h>
@@ -52,9 +50,7 @@
 #  include <linux/if_ether.h>
 #endif
 
-#ifndef __MINGW32__
-#  include <net/if_arp.h>
-#endif
+#include <net/if_arp.h>
 
 #ifdef SIOCSARP
 /** Forcibly add an ARP entry so we can send unicast packets to hosts that don't have IP addresses yet