aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-02-08 23:36:16 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-02-08 23:36:16 +0000
commita88cb5025c3ffd9dc4e7bde58aa58b63afcf65bd (patch)
treef15f2946e7d1694a0e92ca5df4addca986e4f40b /include/libbb.h
parent3aeaee33b6de00da1603a81fcebb15c5971b7c0a (diff)
downloadbusybox-w32-a88cb5025c3ffd9dc4e7bde58aa58b63afcf65bd.tar.gz
busybox-w32-a88cb5025c3ffd9dc4e7bde58aa58b63afcf65bd.tar.bz2
busybox-w32-a88cb5025c3ffd9dc4e7bde58aa58b63afcf65bd.zip
Patch from mathuria, compatability with solaris
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h3
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
58typedef unsigned int socklen_t; 60typedef unsigned int socklen_t;
61#endif
59/* libc5 doesn't implement BSD 4.4 daemon() */ 62/* libc5 doesn't implement BSD 4.4 daemon() */
60extern int daemon (int nochdir, int noclose); 63extern int daemon (int nochdir, int noclose);
61/* libc5 doesn't implement strtok_r */ 64/* libc5 doesn't implement strtok_r */