<p>I tried to figure out if we need to adjust the condition for included files or let it as it is:</p>

<pre><code>#if defined (__OS_darwin) || defined (__OS_freebsd)
</code></pre>

<p>A 'man sysconf' on darwin shows that it needs:</p>

<pre><code>#include <unistd.h>
</code></pre>

<p>No *BSD around, but I guess it will be the same, therefore I think the guard for the includes needs to be updated as well. Would you have a possibility to test that it compiles?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/24#issuecomment-69498862">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZTrD4w6RJ1aJfNtftgrufglh_J2sks5ngpMqgaJpZM4DQ3bE.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/24#issuecomment-69498862"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>