diff options
author | Miodrag Milanović <mmicko@gmail.com> | 2019-10-18 10:52:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-18 10:52:50 +0200 |
commit | 0b0b0cc0d9e432f14218bb9ed643af3d06ab43dc (patch) | |
tree | 24f6a3cd2c4fa19a41d90cd57b0908b668efeb21 /frontends/rpc/rpc_frontend.cc | |
parent | 0d60902fd97bba4f231f8f600434b8a69562ffff (diff) | |
parent | e0a67fce12647b4db7125d33264847c0a3781105 (diff) | |
download | yosys-0b0b0cc0d9e432f14218bb9ed643af3d06ab43dc.tar.gz yosys-0b0b0cc0d9e432f14218bb9ed643af3d06ab43dc.tar.bz2 yosys-0b0b0cc0d9e432f14218bb9ed643af3d06ab43dc.zip |
Merge branch 'master' into eddie/pr1352
Diffstat (limited to 'frontends/rpc/rpc_frontend.cc')
-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; |