diff options
author | Eric Andersen | 2001-03-14 01:15:06 +0000 |
---|---|---|
committer | Eric Andersen | 2001-03-14 01:15:06 +0000 |
commit | c319601db5296e9d26c7ce0738c4507b51958dda (patch) | |
tree | efcad9b20e7e88077ddf7d59315eeef3ca8459c9 /include | |
parent | 4e7244e6b2b8b941f6d2b03d2ca9cc2afbb5258e (diff) | |
download | busybox-c319601db5296e9d26c7ce0738c4507b51958dda.zip busybox-c319601db5296e9d26c7ce0738c4507b51958dda.tar.gz |
Some updates for libc5
Diffstat (limited to 'include')
-rw-r--r-- | include/busybox.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/busybox.h b/include/busybox.h index 7ae6485..977fe33 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) |