diff options
-rw-r--r-- | busybox.h | 3 | ||||
-rw-r--r-- | include/busybox.h | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -35,9 +35,10 @@ | |||
35 | #include "dmalloc.h" | 35 | #include "dmalloc.h" |
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | #include <features.h> | ||
38 | /* Stupid libc doesn't have a reliable way for use to know | 39 | /* Stupid libc doesn't have a reliable way for use to know |
39 | * that libc5 is being used. Assume this is good enough */ | 40 | * that libc5 is being used. Assume this is good enough */ |
40 | #if ! defined __GLIBC__ || ! defined __UCLIBC__ | 41 | #if ! defined __GLIBC__ && ! defined __UCLIBC__ |
41 | /* libc5 doesn't define socklen_t */ | 42 | /* libc5 doesn't define socklen_t */ |
42 | typedef unsigned int socklen_t; | 43 | typedef unsigned int socklen_t; |
43 | #endif | 44 | #endif |
diff --git a/include/busybox.h b/include/busybox.h index 977fe33ec..194fd8220 100644 --- a/include/busybox.h +++ b/include/busybox.h | |||
@@ -35,9 +35,10 @@ | |||
35 | #include "dmalloc.h" | 35 | #include "dmalloc.h" |
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | #include <features.h> | ||
38 | /* Stupid libc doesn't have a reliable way for use to know | 39 | /* Stupid libc doesn't have a reliable way for use to know |
39 | * that libc5 is being used. Assume this is good enough */ | 40 | * that libc5 is being used. Assume this is good enough */ |
40 | #if ! defined __GLIBC__ || ! defined __UCLIBC__ | 41 | #if ! defined __GLIBC__ && ! defined __UCLIBC__ |
41 | /* libc5 doesn't define socklen_t */ | 42 | /* libc5 doesn't define socklen_t */ |
42 | typedef unsigned int socklen_t; | 43 | typedef unsigned int socklen_t; |
43 | #endif | 44 | #endif |