Boost C++ Libraries: Ticket #739: [program_options] putenv on Solaris https://svn.boost.org/trac10/ticket/739 <pre class="wiki"> &lt;cstdlib&gt; does not contain "putenv" on Solaris. Here is a patch for program_options, based off the CVS repository. ---- Index: program_options/test/parsers_test.cpp =================================================================== RCS file: /cvsroot/boost/boost/libs/program_options/test/parsers_test.cpp,v retrieving revision 1.15 diff -w -r1.15 parsers_test.cpp 6d5 &lt; 22a22,24 &gt; #if defined(__sun) &gt; #include &lt;stdlib.h&gt; // for putenv on solaris &gt; #else 23a26 &gt; #endif --- Thanks, jason mailings +at+ happie +dot+ com </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/739 Trac 1.4.3 Vladimir Prus Thu, 28 Jun 2007 07:09:58 GMT status, resolution changed; severity set https://svn.boost.org/trac10/ticket/739#comment:1 https://svn.boost.org/trac10/ticket/739#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">fixed</span> </li> <li><strong>severity</strong> → <span class="trac-field-new">Showstopper</span> </li> </ul> <p> I have applied this fix in CVS. Thanks. </p> Ticket