<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Oct 26, 2015 at 1:35 PM, rmgls <span dir="ltr">&lt;<a href="mailto:rmgls@orange.fr" target="_blank">rmgls@orange.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":1t0" class="" style="overflow:hidden">gcc (or clang) -o toto toto.c<br>
<br>
     Funny thing, compils without any error!.<br></div></blockquote></div><br>That&#39;s using <font face="monospace, monospace">/usr/include/unistd.h</font>. If you look closely, cmake has forced the build to use the &quot;hidden&quot; xcode toolchain includes, *not* <font face="monospace, monospace">/usr/include</font>!</div><div class="gmail_extra">I don&#39;t have 10.11 or Xcode 7, but look for <font face="monospace, monospace"><span style="font-size:13.6px">/Applications/Xcode.app/</span><span style="font-size:13.6px">Contents/Developer/Toolchains/</span><span style="font-size:13.6px">XcodeDefault.xctoolchain/usr</span></font><span style="font-size:13.6px"><font face="monospace, monospace">/include/unistd.h</font>.</span><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>