diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-14 01:15:06 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-14 01:15:06 +0000 |
commit | d4add2d0958b6cae24b1fceab0250531b909ff84 (patch) | |
tree | efcad9b20e7e88077ddf7d59315eeef3ca8459c9 /include | |
parent | 7306ffd15e79b44d9fb1a0aa6c97e46ac49befab (diff) | |
download | busybox-w32-d4add2d0958b6cae24b1fceab0250531b909ff84.tar.gz busybox-w32-d4add2d0958b6cae24b1fceab0250531b909ff84.tar.bz2 busybox-w32-d4add2d0958b6cae24b1fceab0250531b909ff84.zip |
Some updates for libc5
git-svn-id: svn://busybox.net/trunk/busybox@2064 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 7ae648501..977fe33ec 100644 --- a/include/busybox.h +++ b/include/busybox.h | |||
@@ -35,6 +35,14 @@ | |||
35 | #include "dmalloc.h" | 35 | #include "dmalloc.h" |
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | /* Stupid libc doesn't have a reliable way for use to know | ||
39 | * that libc5 is being used. Assume this is good enough */ | ||
40 | #if ! defined __GLIBC__ || ! defined __UCLIBC__ | ||
41 | /* libc5 doesn't define socklen_t */ | ||
42 | typedef unsigned int socklen_t; | ||
43 | #endif | ||
44 | |||
45 | |||
38 | /* Some useful definitions */ | 46 | /* Some useful definitions */ |
39 | #define FALSE ((int) 0) | 47 | #define FALSE ((int) 0) |
40 | #define TRUE ((int) 1) | 48 | #define TRUE ((int) 1) |