Your changes resolve the issue and I can confirm that the erlang module now builds on
CentOS 7, Fedora 21, & Fedora 22. Thank you.
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/173#issuecomment-105244538