Commit 7569f043 authored by Youness Alaoui's avatar Youness Alaoui

Fix udp-turn to compile

parent e048732f
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
#include "udp-turn.h" #include "udp-turn.h"
#include "udp-bsd.h" #include "udp-bsd.h"
#include <stun/stunagent.h> #include <stun/stunagent.h>
#include <stun/usages/timer.h>
typedef struct { typedef struct {
...@@ -84,7 +85,7 @@ typedef struct { ...@@ -84,7 +85,7 @@ typedef struct {
NiceUdpTurnSocketCompatibility compatibility; NiceUdpTurnSocketCompatibility compatibility;
} turn_priv; } turn_priv;
#if 0
static gboolean retransmit_udp_packet (turn_priv *priv) static gboolean retransmit_udp_packet (turn_priv *priv)
{ {
NiceAgent *agent = pointer; NiceAgent *agent = pointer;
...@@ -96,7 +97,7 @@ static gboolean retransmit_udp_packet (turn_priv *priv) ...@@ -96,7 +97,7 @@ static gboolean retransmit_udp_packet (turn_priv *priv)
return ret; return ret;
} }
} #endif
static gboolean static gboolean
priv_send_channel_bind (turn_priv *priv, StunMessage *resp, priv_send_channel_bind (turn_priv *priv, StunMessage *resp,
......
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