When using ecl that has been built with msvc, the code in
sbcl.lisp
#-:wsock
(ffi:clines
"#include <errno.h>"
"#include <sys/socket.h>")
#+:wsock
(ffi:clines
"#ifndef FD_SETSIZE"
"#define FD_SETSIZE 1024"
"#endif"
"#include <winsock2.h>")
(ffi:clines
"#include <sys/time.h>"
"#include <ecl/ecl-inl.h>"
)
Doesn’t build because sys/time is not available in
msvc. What header should I include instead?