openbsd-ports/net/libnice/patches/patch-stun_tools_stunbdc_c
jasper ff7f4b96b0 - update libnice to 0.0.13
from tom murphy (MAINTAINER)
2010-09-22 14:28:59 +00:00

20 lines
431 B
Plaintext

$OpenBSD: patch-stun_tools_stunbdc_c,v 1.2 2010/09/22 14:29:00 jasper Exp $
--- stun/tools/stunbdc.c.orig Mon Sep 13 11:09:41 2010
+++ stun/tools/stunbdc.c Mon Sep 13 11:11:19 2010
@@ -41,7 +41,6 @@
#endif
#ifndef _WIN32
-#include <sys/socket.h>
#include <netdb.h>
#include <sys/types.h>
@@ -54,6 +53,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <netinet/in.h>
static int ai_flags = 0;