diff options
author | Glenn L McGrath | 2003-02-08 23:36:16 +0000 |
---|---|---|
committer | Glenn L McGrath | 2003-02-08 23:36:16 +0000 |
commit | a88cb5025c3ffd9dc4e7bde58aa58b63afcf65bd (patch) | |
tree | f15f2946e7d1694a0e92ca5df4addca986e4f40b /include/libbb.h | |
parent | 3aeaee33b6de00da1603a81fcebb15c5971b7c0a (diff) | |
download | busybox-a88cb5025c3ffd9dc4e7bde58aa58b63afcf65bd.zip busybox-a88cb5025c3ffd9dc4e7bde58aa58b63afcf65bd.tar.gz |
Patch from mathuria, compatability with solaris
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 42e89a5..c057ce4 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -55,7 +55,10 @@ #if (__GNU_LIBRARY__ < 5) && (!defined __dietlibc__) /* libc5 doesn't define socklen_t */ +#ifndef _SOCKLEN_T +#define _SOCKLEN_T typedef unsigned int socklen_t; +#endif /* libc5 doesn't implement BSD 4.4 daemon() */ extern int daemon (int nochdir, int noclose); /* libc5 doesn't implement strtok_r */ |