*/
/* $Id$ */
-#include "silcincludes.h"
+#include "silc.h"
/* XXX lib/contrib/regex.c might cmopile on WIN32 as well */
{
return gettimeofday(p, NULL);
}
+
+int silc_file_set_nonblock(int fd)
+{
+ return fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) | O_NONBLOCK);
+}
+