I tried to figure out if we need to adjust the condition for included files or let it as it is:
``` #if defined (__OS_darwin) || defined (__OS_freebsd) ```
A 'man sysconf' on darwin shows that it needs:
``` #include <unistd.h> ```
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?
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/24#issuecomment-69498862