--- src/torrent/poll_kqueue.cc.orig 2008-12-09 10:47:34 UTC +++ src/torrent/poll_kqueue.cc @@ -52,6 +52,8 @@ #include #include #include + +#include #endif namespace torrent { @@ -113,7 +113,7 @@ if (fd == -1) return NULL; - return new PollKQueue(fd, 1024, maxOpenSockets); + return new PollKQueue(fd, 16384, maxOpenSockets); } PollKQueue::PollKQueue(int fd, int maxEvents, int maxOpenSockets) :