$NetBSD$

--- include/licq_socket.h.orig	2006-10-18 10:59:12.000000000 +0200
+++ include/licq_socket.h
@@ -6,6 +6,7 @@
 #endif
 
 #include <sys/types.h>
+#include <sys/time.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
@@ -250,6 +251,7 @@ public:
 
   fd_set SocketSet()   {  return m_sSockets.SocketSet(); }
   int LargestSocket()  {  return m_sSockets.Largest(); }
+  unsigned short Num() {  return m_sSockets.Num(); }
 
 protected:
   CSocketSet m_sSockets;
