51fcc0b613
libnice is an implementation of the IETF's draft Interactice Connectivity Establishment standard (ICE). It provides GLib-based library, libnice and GStreamer elements. ICE is useful for applications that want to establish peer-to-peer UDP data streams. It automates the process of traversing NATs and provides security against some attacks. Existing standards that use ICE include Session Initiation Protocol (SIP) and XMPP Jingle. from tom (tdmurphy4@gmail.com) with tweaks by me
20 lines
435 B
Plaintext
20 lines
435 B
Plaintext
$OpenBSD: patch-stun_tools_stunbdc_c,v 1.1.1.1 2009/08/20 17:09:00 jasper Exp $
|
|
--- stun/tools/stunbdc.c.orig Wed Aug 19 11:49:36 2009
|
|
+++ stun/tools/stunbdc.c Wed Aug 19 11:50:26 2009
|
|
@@ -38,7 +38,6 @@
|
|
#endif
|
|
|
|
#ifndef _WIN32
|
|
-#include <sys/socket.h>
|
|
#include <netdb.h>
|
|
|
|
#include <sys/types.h>
|
|
@@ -51,6 +50,7 @@
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
+#include <netinet/in.h>
|
|
|
|
static int ai_flags = 0;
|
|
|