Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Windows and USE_UNIX_SOCKETS #4040
Using MSVC or clang-cl, tried to build some program under
In file included from rtspd.c:55: ./server_sockaddr.h(41,24): error: field has incomplete type 'struct sockaddr_un' struct sockaddr_un sau; ^
is just assuming some Posix system; not Windows at.
My quick fix was simply:
--- a/server_sockaddr.h 2018-05-09 19:58:12 +++ b/server_sockaddr.h 2019-06-18 15:01:54 @@ -25,6 +25,8 @@ #ifdef HAVE_SYS_UN_H #include <sys/un.h> /* for sockaddr_un */ +#elif WIN32 +#undef USE_UNIX_SOCKETS /* No way */ #endif
Win-10 (1809, build 17763.557).
Thanks Jay, but still there's no info of what Windows Kit version AppVeyor uses here.
which is a lie since that is set here.