Add socklen_t typedef for very old systems that don't provide it.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@286 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2013-07-15 01:29:43 +00:00
parent 9378704c39
commit 84a87ca7ec

View File

@@ -136,6 +136,10 @@ char *alloca();
extern int errno; extern int errno;
#endif #endif
#ifndef HAVE_SOCKLEN_T
typedef int socklen_t;
#endif
#ifndef NBBY #ifndef NBBY
# define NBBY 8 /* number of bits in a byte */ # define NBBY 8 /* number of bits in a byte */
#endif /* NBBY */ #endif /* NBBY */