aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-04-09 23:52:18 +0000
committerEric Andersen <andersen@codepoet.org>2001-04-09 23:52:18 +0000
commitb6b519b416189202d18d888d61d8bbe50dc30325 (patch)
treee04e4a2329b9cf5c96b31fa064e6c85dfb8b9055 /include
parentd3f97f19718fa5890cb6cb3fd010f7b4a7bd3ae1 (diff)
downloadbusybox-w32-b6b519b416189202d18d888d61d8bbe50dc30325.tar.gz
busybox-w32-b6b519b416189202d18d888d61d8bbe50dc30325.tar.bz2
busybox-w32-b6b519b416189202d18d888d61d8bbe50dc30325.zip
Update how we detect if libc5 is in use.
-Erik
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 0001cac6f..6133b19d3 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -34,9 +34,8 @@
34#endif 34#endif
35 35
36#include <features.h> 36#include <features.h>
37/* Stupid libc doesn't have a reliable way for use to know 37
38 * that libc5 is being used. Assume this is good enough */ 38#if __GNU_LIBRARY__ < 5
39#if ! defined __GLIBC__ && ! defined __UCLIBC__
40/* libc5 doesn't define socklen_t */ 39/* libc5 doesn't define socklen_t */
41typedef unsigned int socklen_t; 40typedef unsigned int socklen_t;
42/* libc5 doesn't implement BSD 4.4 daemon() */ 41/* libc5 doesn't implement BSD 4.4 daemon() */