Some updates for libc5

This commit is contained in:
Eric Andersen
2001-03-14 01:15:06 +00:00
parent 4e7244e6b2
commit c319601db5
6 changed files with 34 additions and 4 deletions

View File

@ -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)