diff options
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 42e89a5e9..c057ce493 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -55,7 +55,10 @@ | |||
55 | 55 | ||
56 | #if (__GNU_LIBRARY__ < 5) && (!defined __dietlibc__) | 56 | #if (__GNU_LIBRARY__ < 5) && (!defined __dietlibc__) |
57 | /* libc5 doesn't define socklen_t */ | 57 | /* libc5 doesn't define socklen_t */ |
58 | #ifndef _SOCKLEN_T | ||
59 | #define _SOCKLEN_T | ||
58 | typedef unsigned int socklen_t; | 60 | typedef unsigned int socklen_t; |
61 | #endif | ||
59 | /* libc5 doesn't implement BSD 4.4 daemon() */ | 62 | /* libc5 doesn't implement BSD 4.4 daemon() */ |
60 | extern int daemon (int nochdir, int noclose); | 63 | extern int daemon (int nochdir, int noclose); |
61 | /* libc5 doesn't implement strtok_r */ | 64 | /* libc5 doesn't implement strtok_r */ |