``` CC (gcc) [kamailio] udp_server.o udp_server.c: In function 'setup_mcast_rcvr': udp_server.c:218: error: storage size of 'mreq' isn't known udp_server.c:218: warning: unused variable 'mreq' gmake: *** [Makefile.rules:97: udp_server.o] Error 1 ```
Compile-only tested with OpenBSD 6.0, FreeBSD 10, FreeBSD 11 and Ubuntu Linux 14.04 You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/856
-- Commit Summary --
* Makefile.defs: define HAVE_IP_MREQN on platforms with struct ip_mreqn * core: fix compilation on platforms without struct ip_mreqn
-- File Changes --
M Makefile.defs (6) M udp_server.c (8)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/856.patch https://github.com/kamailio/kamailio/pull/856.diff
Thanks!
Merged #856.