aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2019-10-01 19:50:37 +0200
committerGitHub <noreply@github.com>2019-10-01 19:50:37 +0200
commitda347b9f7e8ce9738598931283ba98f8c98924cb (patch)
treed0c422e31c72d3e2a22466ae15839288aec32ea6
parentd963e8c2c6207ad98d48dc528922ad58c030173f (diff)
parentc026579c207b81092e298858acf131c70115f89f (diff)
downloadyosys-da347b9f7e8ce9738598931283ba98f8c98924cb.tar.gz
yosys-da347b9f7e8ce9738598931283ba98f8c98924cb.tar.bz2
yosys-da347b9f7e8ce9738598931283ba98f8c98924cb.zip
Merge pull request #1426 from YosysHQ/mmicko/fix_environ
Define environ, fixes #1424
-rw-r--r--frontends/rpc/rpc_frontend.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/rpc/rpc_frontend.cc b/frontends/rpc/rpc_frontend.cc
index b4b2fa3a2..83e1353b0 100644
--- a/frontends/rpc/rpc_frontend.cc
+++ b/frontends/rpc/rpc_frontend.cc
@@ -34,6 +34,8 @@
#include "libs/sha1/sha1.h"
#include "kernel/yosys.h"
+extern char **environ;
+
YOSYS_NAMESPACE_BEGIN
#if defined(_WIN32)