# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1320931814 0 # Node ID 19bfcdbab74e5ba72585d9ca8994a6ed648678fc # Parent be2c042762092e1717934298b5a2644a4d180c8d Hopefully the last socklen_t change... OS/2 needs it too. diff -r be2c04276209 -r 19bfcdbab74e compat.h --- a/compat.h Thu Nov 10 03:54:32 2011 +0000 +++ b/compat.h Thu Nov 10 13:30:14 2011 +0000 @@ -320,8 +320,8 @@ } #endif -/* Visual Studio doesn't define this... so just in case */ -#ifdef MSVC +/* Ok Windows and OS/2 both seem to be missing this */ +#if defined(__WIN32__) || defined(__OS2__) typedef int socklen_t; #endif