From c319601db5296e9d26c7ce0738c4507b51958dda Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 14 Mar 2001 01:15:06 +0000 Subject: Some updates for libc5 --- include/busybox.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/busybox.h b/include/busybox.h index 7ae648501..977fe33ec 100644 --- a/include/busybox.h +++ b/include/busybox.h @@ -35,6 +35,14 @@ #include "dmalloc.h" #endif +/* Stupid libc doesn't have a reliable way for use to know + * that libc5 is being used. Assume this is good enough */ +#if ! defined __GLIBC__ || ! defined __UCLIBC__ +/* libc5 doesn't define socklen_t */ +typedef unsigned int socklen_t; +#endif + + /* Some useful definitions */ #define FALSE ((int) 0) #define TRUE ((int) 1) -- cgit v1.2.3