Skip to content

Commit

Permalink
Merge pull request #1365 from jonjove/mac-fix-environ
Browse files Browse the repository at this point in the history
Fixed compilation error on Mac that was caused by undefined variable environ

Reviewed-by: MonsieurNicolas
  • Loading branch information
latobarita committed Nov 1, 2017
2 parents b5bcdbd + fea5fc5 commit 631687e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/process/ProcessManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
#include <regex>
#include <string>

#ifdef __APPLE__
extern char **environ;
#endif

namespace stellar
{

Expand Down

0 comments on commit 631687e

Please sign in to comment.