Define environ, fixes #1424
authorMiodrag Milanovic <mmicko@gmail.com>
Tue, 1 Oct 2019 16:45:07 +0000 (18:45 +0200)
committerMiodrag Milanovic <mmicko@gmail.com>
Tue, 1 Oct 2019 16:45:07 +0000 (18:45 +0200)
frontends/rpc/rpc_frontend.cc

index b4b2fa3a215625fbe0a7c4a5cecb7b302353dfb5..83e1353b059321bcc9d3b762085589c6fbca751d 100644 (file)
@@ -34,6 +34,8 @@
 #include "libs/sha1/sha1.h"
 #include "kernel/yosys.h"
 
+extern char **environ;
+
 YOSYS_NAMESPACE_BEGIN
 
 #if defined(_WIN32)