if (!fds[i].events)
continue;
+#ifdef FD_SETSIZE
+ if (fds[i].fd >= FD_SETSIZE)
+ break;
+#endif /* FD_SETSIZE */
+
if (fds[i].fd > max_fd)
max_fd = fds[i].fd;
if (!fds[i].events)
continue;
+#ifdef FD_SETSIZE
+ if (fds[i].fd >= FD_SETSIZE)
+ break;
+#endif /* FD_SETSIZE */
+
if (FD_ISSET(fds[i].fd, &in))
fds[i].revents |= SILC_TASK_READ;
if (FD_ISSET(fds[i].fd, &out))