summaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp')
-rw-r--r--networking/udhcp/clientpacket.c2
-rw-r--r--networking/udhcp/clientsocket.c2
-rw-r--r--networking/udhcp/packet.c2
-rw-r--r--networking/udhcp/socket.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/networking/udhcp/clientpacket.c b/networking/udhcp/clientpacket.c
index 15cbda2f5..69d7f2d38 100644
--- a/networking/udhcp/clientpacket.c
+++ b/networking/udhcp/clientpacket.c
@@ -9,7 +9,7 @@
9 */ 9 */
10 10
11#include <features.h> 11#include <features.h>
12#if (__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined _NEWLIB_VERSION 12#if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined _NEWLIB_VERSION
13#include <netpacket/packet.h> 13#include <netpacket/packet.h>
14#include <net/ethernet.h> 14#include <net/ethernet.h>
15#else 15#else
diff --git a/networking/udhcp/clientsocket.c b/networking/udhcp/clientsocket.c
index 852061968..b8803f04e 100644
--- a/networking/udhcp/clientsocket.c
+++ b/networking/udhcp/clientsocket.c
@@ -22,7 +22,7 @@
22 */ 22 */
23 23
24#include <features.h> 24#include <features.h>
25#if (__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined(_NEWLIB_VERSION) 25#if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined(_NEWLIB_VERSION)
26#include <netpacket/packet.h> 26#include <netpacket/packet.h>
27#include <net/ethernet.h> 27#include <net/ethernet.h>
28#else 28#else
diff --git a/networking/udhcp/packet.c b/networking/udhcp/packet.c
index dec9d0ab3..25c55faab 100644
--- a/networking/udhcp/packet.c
+++ b/networking/udhcp/packet.c
@@ -1,7 +1,7 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2 2
3#include <netinet/in.h> 3#include <netinet/in.h>
4#if (__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined _NEWLIB_VERSION 4#if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined _NEWLIB_VERSION
5#include <netpacket/packet.h> 5#include <netpacket/packet.h>
6#include <net/ethernet.h> 6#include <net/ethernet.h>
7#else 7#else
diff --git a/networking/udhcp/socket.c b/networking/udhcp/socket.c
index 2bae68f27..9ea200280 100644
--- a/networking/udhcp/socket.c
+++ b/networking/udhcp/socket.c
@@ -25,7 +25,7 @@
25 25
26#include <net/if.h> 26#include <net/if.h>
27#include <features.h> 27#include <features.h>
28#if (__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined _NEWLIB_VERSION 28#if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined _NEWLIB_VERSION
29#include <netpacket/packet.h> 29#include <netpacket/packet.h>
30#include <net/ethernet.h> 30#include <net/ethernet.h>
31#else 31#else