summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorEric Andersen2001-07-22 23:00:15 +0000
committerEric Andersen2001-07-22 23:00:15 +0000
commit8d79ce832062873e6328f616ebb0c80db32020e3 (patch)
treeeab4c5133f1c8d1fd898d13e000aae5c5673211b /libbb
parent20aab260e2f7011523402464fb079f48e5899890 (diff)
downloadbusybox-8d79ce832062873e6328f616ebb0c80db32020e3.zip
busybox-8d79ce832062873e6328f616ebb0c80db32020e3.tar.gz
Some patches to make dietlibc work...
Diffstat (limited to 'libbb')
-rw-r--r--libbb/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/libbb.h b/libbb/libbb.h
index bf5f0c1..c167e10 100644
--- a/libbb/libbb.h
+++ b/libbb/libbb.h
@@ -41,7 +41,7 @@
#include "../busybox.h"
#endif
-#if __GNU_LIBRARY__ < 5
+#if (__GNU_LIBRARY__ < 5) && (!defined __dietlibc__)
/* libc5 doesn't define socklen_t */
typedef unsigned int socklen_t;
/* libc5 doesn't implement BSD 4.4 daemon() */