Commit fa68cdd4 authored by Youness Alaoui's avatar Youness Alaoui

define SOL_IPV6 to IPPROTO_IPV6 if not defined

parent df0ca1ed
...@@ -61,9 +61,13 @@ ...@@ -61,9 +61,13 @@
#ifndef SOL_IP #ifndef SOL_IP
# define SOL_IP IPPROTO_IP # define SOL_IP IPPROTO_IP
#endif
#ifndef SOL_IPV6
# define SOL_IPV6 IPPROTO_IPV6 # define SOL_IPV6 IPPROTO_IPV6
#endif #endif
#ifndef IPV6_RECVPKTINFO #ifndef IPV6_RECVPKTINFO
# define IPV6_RECVPKTINFO IPV6_PKTINFO # define IPV6_RECVPKTINFO IPV6_PKTINFO
#endif #endif
......
...@@ -74,6 +74,13 @@ ...@@ -74,6 +74,13 @@
#include "timer.h" #include "timer.h"
#ifndef SOL_IP
# define SOL_IP IPPROTO_IP
#endif
#ifndef SOL_IPV6
# define SOL_IPV6 IPPROTO_IPV6
#endif
/** Non-blocking mode STUN binding discovery */ /** Non-blocking mode STUN binding discovery */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment