diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-05 03:34:12 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-05 03:34:12 +0200 |
commit | 9b1b62adc4e4c1e80d9f72180c6b7b1eaef9f95a (patch) | |
tree | 65a7b5ebb093903fd030aecda6ee204660d458d4 /networking | |
parent | b22bbfffec182997827b0a71eeb93ddafbde602c (diff) | |
download | busybox-9b1b62adc4e4c1e80d9f72180c6b7b1eaef9f95a.tar.gz |
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 <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/udhcp/clientpacket.c | 2 | ||||
-rw-r--r-- | networking/udhcp/clientsocket.c | 2 | ||||
-rw-r--r-- | networking/udhcp/socket.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/networking/udhcp/clientpacket.c b/networking/udhcp/clientpacket.c index 84a6765ee..0a3e6441b 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 <features.h> +//#include <features.h> #if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined _NEWLIB_VERSION #include <netpacket/packet.h> #include <net/ethernet.h> diff --git a/networking/udhcp/clientsocket.c b/networking/udhcp/clientsocket.c index 851d5ab5f..0febc0459 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 <features.h> +//#include <features.h> #include <asm/types.h> #if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined(_NEWLIB_VERSION) #include <netpacket/packet.h> diff --git a/networking/udhcp/socket.c b/networking/udhcp/socket.c index 6b15766c9..a0ffbf893 100644 --- a/networking/udhcp/socket.c +++ b/networking/udhcp/socket.c @@ -24,7 +24,7 @@ */ #include <net/if.h> -#include <features.h> +//#include <features.h> #if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined _NEWLIB_VERSION #include <netpacket/packet.h> #include <net/ethernet.h> |