diff options
Diffstat (limited to 'frontends/rpc')
| -rw-r--r-- | frontends/rpc/rpc_frontend.cc | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/frontends/rpc/rpc_frontend.cc b/frontends/rpc/rpc_frontend.cc index b4b2fa3a2..add17c243 100644 --- a/frontends/rpc/rpc_frontend.cc +++ b/frontends/rpc/rpc_frontend.cc @@ -28,6 +28,7 @@  #include <sys/wait.h>  #include <sys/socket.h>  #include <sys/un.h> +extern char **environ;  #endif  #include "libs/json11/json11.hpp" @@ -236,6 +237,11 @@ struct RpcModule : RTLIL::Module {  #if defined(_WIN32) +#if defined(_MSC_VER) +#include <BaseTsd.h> +typedef SSIZE_T ssize_t; +#endif +  struct HandleRpcServer : RpcServer {  	HANDLE hsend, hrecv; | 
