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