It compiler fine on wheezy even with the patch -- guess gcc is not strict.
Closing this one, perhaps you can retag after the last backport.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/452#issuecomment-165894659