openbsd-ports/net/libnice/patches/patch-stun_tools_stunbdc_c
jasper 1ab3df167a - update libnice to 0.1.0
- various cleanups

from tom murphy (MAINTAINER) with tweaks by me.
2011-03-02 07:32:04 +00:00

20 lines
431 B
Plaintext

$OpenBSD: patch-stun_tools_stunbdc_c,v 1.3 2011/03/02 07:32:04 jasper Exp $
--- stun/tools/stunbdc.c.orig Thu Mar 18 21:02:53 2010
+++ stun/tools/stunbdc.c Sat Feb 19 09:45:19 2011
@@ -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;