From 84a87ca7ec6b6714fb2b727eefd3962224a85a76 Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Mon, 15 Jul 2013 01:29:43 +0000 Subject: [PATCH] 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 --- include/irc_std.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/irc_std.h b/include/irc_std.h index 84fc4f2..960c3e3 100644 --- a/include/irc_std.h +++ b/include/irc_std.h @@ -136,6 +136,10 @@ char *alloca(); extern int errno; #endif +#ifndef HAVE_SOCKLEN_T +typedef int socklen_t; +#endif + #ifndef NBBY # define NBBY 8 /* number of bits in a byte */ #endif /* NBBY */