Boost C++ Libraries: Ticket #7847: BUG: on linux, the non-standard <wait.h> is included, breaking build with musl libc https://svn.boost.org/trac10/ticket/7847 <p> wait.h is not linux-specific, but GLIBC specific. here's the patch that makes it work. without this patch, it is not possible to build boost on any non-glibc linux platform. </p> <p> --- boost_1_52_0.org/tools/build/v2/engine/execunix.c 2013-01-04 09:45:43.165000002 +0000 +++ boost_1_52_0/tools/build/v2/engine/execunix.c 2013-01-04 09:46:20.095000004 +0000 @@ -18,7 +18,7 @@ </p> <blockquote> <p> #include &lt;sys/times.h&gt; #include &lt;sys/wait.h&gt; </p> </blockquote> <table class="wiki"> <tr>-#if defined(sun) <td> defined(<span class="underline">sun) </span></td><td> defined(linux) </td></tr><tr>+#if defined(sun) <td> defined(<span class="underline">sun) </span></td><td> defined(<span class="underline">GLIBC</span>) </td></tr></table> <blockquote> <p> #include &lt;wait.h&gt; </p> </blockquote> <blockquote> <p> #endif </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7847 Trac 1.4.3 anonymous Fri, 04 Jan 2013 10:35:35 GMT attachment set https://svn.boost.org/trac10/ticket/7847 https://svn.boost.org/trac10/ticket/7847 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-execinfo.patch</span> </li> </ul> <p> patch </p> Ticket anonymous Fri, 04 Jan 2013 10:36:47 GMT <link>https://svn.boost.org/trac10/ticket/7847#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7847#comment:1</guid> <description> <p> sorry, the inline patch got messed up. i attached it as a file. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Wed, 16 Jan 2013 22:23:18 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/7847#comment:2 https://svn.boost.org/trac10/ticket/7847#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">Vladimir Prus</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">build</span> </li> </ul> Ticket Vladimir Prus Sat, 19 Jan 2013 12:03:01 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/7847#comment:3 https://svn.boost.org/trac10/ticket/7847#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/82549" title="Don't include wait.h on Linux. The function we use are all supposed ...">[82549]</a>) Don't include wait.h on Linux. </p> <p> The function we use are all supposed to be in sys/wait.h </p> <p> Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7847" title="#7847: Bugs: BUG: on linux, the non-standard &lt;wait.h&gt; is included, breaking build ... (closed: fixed)">#7847</a>. </p> Ticket