<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Brandon,<div class=""><br class=""></div><div class="">alas no , i must have &nbsp;included the following:</div><div class="">find /. -name units.h</div><div class=""><br class=""></div><div class=""><div class="">/./Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/usr/include/sys/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/usr/include/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator.sdk/usr/include/sys/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator.sdk/usr/include/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/sys/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/sys/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/sys/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/sys/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/usr/include/sys/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/usr/include/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-migrator/sdk/iPhoneOS.sdk/usr/include/sys/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-migrator/sdk/iPhoneOS.sdk/usr/include/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-migrator/sdk/iPhoneSimulator.sdk/usr/include/sys/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-migrator/sdk/iPhoneSimulator.sdk/usr/include/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-migrator/sdk/MacOSX.sdk/usr/include/sys/unistd.h</div><div class="">/./Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-migrator/sdk/MacOSX.sdk/usr/include/unistd.h</div><div class="">/./opt/local/include/postgresql94/server/port/win32_msvc/unistd.h</div></div><div class=""><br class=""></div><div class="">no /usr/include in 10.11 with swift 2.</div><div class="">that is my problem.</div><div class=""><br class=""></div><div class="">Thanks</div><div class="">raoul</div><div class=""><a href="mailto:rmgls@orange.fr" class="">rmgls@orange.fr</a></div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On 26 oct. 2015, at 18:43, Brandon Allbery &lt;<a href="mailto:allbery.b@gmail.com" class="">allbery.b@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote">On Mon, Oct 26, 2015 at 1:35 PM, rmgls <span dir="ltr" class="">&lt;<a href="mailto:rmgls@orange.fr" target="_blank" class="">rmgls@orange.fr</a>&gt;</span> wrote:<br class=""><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 class="">
<br class="">
&nbsp; &nbsp; &nbsp;Funny thing, compils without any error!.<br class=""></div></blockquote></div><br class="">That's using <font face="monospace, monospace" class="">/usr/include/unistd.h</font>. If you look closely, cmake has forced the build to use the "hidden" xcode toolchain includes, *not* <font face="monospace, monospace" class="">/usr/include</font>!</div><div class="gmail_extra">I don't have 10.11 or Xcode 7, but look for&nbsp;<font face="monospace, monospace" class=""><span style="font-size:13.6px" class="">/Applications/Xcode.app/</span><span style="font-size:13.6px" class="">Contents/Developer/Toolchains/</span><span style="font-size:13.6px" class="">XcodeDefault.xctoolchain/usr</span></font><span style="font-size:13.6px" class=""><font face="monospace, monospace" class="">/include/unistd.h</font>.</span><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature"><div dir="ltr" class=""><div class="">brandon s allbery kf8nh &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sine nomine associates</div><div class=""><a href="mailto:allbery.b@gmail.com" target="_blank" class="">allbery.b@gmail.com</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:ballbery@sinenomine.net" target="_blank" class="">ballbery@sinenomine.net</a></div><div class="">unix, openafs, kerberos, infrastructure, xmonad &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://sinenomine.net/" target="_blank" class="">http://sinenomine.net</a></div></div></div>
</div></div>
</div></blockquote></div><br class=""></div></body></html>