[BACK]Return to patch-src_mms.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / libmms / patches

File: [cvs.NetBSD.org] / pkgsrc / net / libmms / patches / patch-src_mms.c (download)

Revision 1.1, Sat Jul 13 09:28:25 2013 UTC (8 years, 4 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3

try to fix build for the case missing AI_ADDRCONFIG (NetBSD-5).

$NetBSD: patch-src_mms.c,v 1.1 2013/07/13 09:28:25 obache Exp $

* for the case missing AI_ADDRCONFIG

--- src/mms.c.orig	2011-01-17 10:40:09.000000000 +0000
+++ src/mms.c
@@ -70,6 +70,10 @@
 #include "uri.h"
 #include "mms-common.h"
 
+#ifndef AI_ADDRCONFIG
+#define AI_ADDRCONFIG 0
+#endif
+
 /* 
  * mms specific types 
  */