#include <unistd.h>
/* for unix systems */
-#include <sys/select.h>
+#ifndef WIN32
+# include <sys/select.h>
+#endif
#include <string.h>
#include <inttypes.h>
else if (res < 0)
{
if (errno == EBADF)
- fd_recheck ();
+ fd_ebadf ();
+ else if (errno == ENOMEM)
+ fd_enomem ();
}
}