This is an extremely dirty hack that just postpones the problem that select
only allows 1024 file descriptors to be queried by increasing the limit
to 16384.
#include "config.h"
#endif
#include "config.h"
#endif
+#include <features.h>
+#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
+# include <bits/types.h>
+# undef __FD_SETSIZE
+# define __FD_SETSIZE 16384
+#endif
+
#ifdef HAVE_STANDARDS_H
#include <standards.h>
#endif
#ifdef HAVE_STANDARDS_H
#include <standards.h>
#endif