--- ../../../icqlib/icqlib/socketmanager.h	Mon Jun  4 20:36:31 2001
+++ socketmanager.h	Sat Jun  9 07:37:26 2001
@@ -32,6 +32,9 @@
 #include <sys/types.h>
 
 #ifndef _WIN32
+#ifdef NEED_SOCKLEN_T
+typedef unsigned int socklen_t;
+#endif
 #include <sys/socket.h>
 #else
 #include <winsock.h>
