Boost C++ Libraries: Ticket #2596: FreeBSD requires unistd.h https://svn.boost.org/trac10/ticket/2596 <p> Reported by a Debian GNU/kFreeBSD user: <a class="ext-link" href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506736"><span class="icon">​</span>http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506736</a> </p> <p> The fix is to #include &lt;unistd.h&gt; in jam.h; see attached patch. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2596 Trac 1.4.3 smr@… Wed, 17 Dec 2008 05:19:39 GMT attachment set https://svn.boost.org/trac10/ticket/2596 https://svn.boost.org/trac10/ticket/2596 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">kfreebsd-jam.patch</span> </li> </ul> Ticket Vladimir Prus Fri, 13 Mar 2009 07:39:46 GMT <link>https://svn.boost.org/trac10/ticket/2596#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2596#comment:1</guid> <description> <p> I am unsure why the include need to be wrapped in <span class="underline">GLIBC</span>. Please clarify. </p> </description> <category>Ticket</category> </item> <item> <author>smr@…</author> <pubDate>Sun, 15 Mar 2009 04:12:04 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2596#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2596#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/2596#comment:1" title="Comment 1">vladimir_prus</a>: </p> <blockquote class="citation"> <p> I am unsure why the include need to be wrapped in __GLIBC__. Please clarify. </p> </blockquote> <p> I simply passed on the patch provided by the initial reported. </p> <p> You're likely right that it doesn't need to be guareded by #ifdef __GLIBC__ Any reasonably modern unix should have unistd.h. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Sat, 21 Mar 2009 23:12:16 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2596#comment:3 https://svn.boost.org/trac10/ticket/2596#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/51896" title="Include unistd.h Fixes #2596. ">[51896]</a>) Include unistd.h </p> <p> Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2596" title="#2596: Bugs: FreeBSD requires unistd.h (closed: fixed)">#2596</a>. </p> Ticket