[sr-dev] [kamailio/kamailio] Introduce HAVE_IP_MREQN due to OpenBSD compile failing after mcast improvement (#856)

Mikko Lehto notifications at github.com
Sat Nov 12 09:27:31 CET 2016


```
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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/856
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20161112/7973391a/attachment.html>


More information about the sr-dev mailing list