From 9b1b62adc4e4c1e80d9f72180c6b7b1eaef9f95a Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 5 Jul 2009 03:34:12 +0200 Subject: Patches to enable FreeBSD build platform.h: fix wrong check for endianness, fix lchown aliasing to chown on uclibc. Code seems to not be affected in my testing. Signed-off-by: Denys Vlasenko --- networking/udhcp/clientpacket.c | 2 +- networking/udhcp/clientsocket.c | 2 +- networking/udhcp/socket.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'networking/udhcp') diff --git a/networking/udhcp/clientpacket.c b/networking/udhcp/clientpacket.c index 84a6765..0a3e644 100644 --- a/networking/udhcp/clientpacket.c +++ b/networking/udhcp/clientpacket.c @@ -8,7 +8,7 @@ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ -#include +//#include #if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined _NEWLIB_VERSION #include #include diff --git a/networking/udhcp/clientsocket.c b/networking/udhcp/clientsocket.c index 851d5ab..0febc04 100644 --- a/networking/udhcp/clientsocket.c +++ b/networking/udhcp/clientsocket.c @@ -21,7 +21,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include +//#include #include #if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined(_NEWLIB_VERSION) #include diff --git a/networking/udhcp/socket.c b/networking/udhcp/socket.c index 6b15766..a0ffbf8 100644 --- a/networking/udhcp/socket.c +++ b/networking/udhcp/socket.c @@ -24,7 +24,7 @@ */ #include -#include +//#include #if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined _NEWLIB_VERSION #include #include -- cgit v1.1