#include #include #include #include "../configure.h" int GetFdWidth(void) { #ifdef HAVE_SYSCONF return sysconf(_SC_OPEN_MAX); #else return getdtablesize(); #endif }