Patch from mathuria, compatability with solaris

This commit is contained in:
Glenn L McGrath
2003-02-08 23:36:16 +00:00
parent 3aeaee33b6
commit a88cb5025c
3 changed files with 6 additions and 1 deletions

View File

@ -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 */