summaryrefslogtreecommitdiffhomepage
path: root/busybox.h
diff options
context:
space:
mode:
Diffstat (limited to 'busybox.h')
-rw-r--r--busybox.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/busybox.h b/busybox.h
index 7ae648501..977fe33ec 100644
--- a/busybox.h
+++ b/busybox.h
@@ -35,6 +35,14 @@
#include "dmalloc.h"
#endif
+/* Stupid libc doesn't have a reliable way for use to know
+ * that libc5 is being used. Assume this is good enough */
+#if ! defined __GLIBC__ || ! defined __UCLIBC__
+/* libc5 doesn't define socklen_t */
+typedef unsigned int socklen_t;
+#endif
+
+
/* Some useful definitions */
#define FALSE ((int) 0)
#define TRUE ((int) 1)