openbsd-ports/telephony/kamailio/patches/patch-modules_sipcapture_sipcapture_c

12 lines
510 B
Plaintext

$OpenBSD: patch-modules_sipcapture_sipcapture_c,v 1.3 2012/09/15 12:16:18 sthen Exp $
--- modules/sipcapture/sipcapture.c.orig Mon Jul 9 00:10:51 2012
+++ modules/sipcapture/sipcapture.c Mon Jul 9 00:11:30 2012
@@ -48,6 +48,7 @@
#ifndef __USE_BSD
#define __USE_BSD /* on linux use bsd version of iphdr (more portable) */
#endif /* __USE_BSD */
+#include <netinet/in_systm.h>
#include <netinet/ip.h>
#define __FAVOR_BSD /* on linux use bsd version of udphdr (more portable) */
#include <netinet/udp.h>