From ebb2b8751d3231d148e9d0a2f8c9b9f4bb208ee2 Mon Sep 17 00:00:00 2001 From: seb Date: Wed, 7 May 2003 20:52:44 +0000 Subject: Initial import of rtptools version 1.18 into the NetBSD Packages Collection. The rtptools distribution consists of a number of small applications that can be used for processing RTP data. --- mbone/rtptools/patches/patch-aa | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 mbone/rtptools/patches/patch-aa (limited to 'mbone/rtptools/patches/patch-aa') diff --git a/mbone/rtptools/patches/patch-aa b/mbone/rtptools/patches/patch-aa new file mode 100644 index 00000000000..5f7d08dc75d --- /dev/null +++ b/mbone/rtptools/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/05/07 20:52:44 seb Exp $ + +--- rtptrans.c.orig 2002-10-08 10:18:21.000000000 +0000 ++++ rtptrans.c +@@ -44,6 +44,7 @@ + * + */ + ++#include + #include + #include + #include +@@ -326,7 +327,7 @@ static Notify_value socket_handler(Notif + if (side[i][proto].sock != sock) { + msg.msg_name = (caddr_t ) &side[i][proto].sin; + msg.msg_namelen = sizeof(side[i][proto].sin); +-#if defined(__FreeBSD__) || defined(__linux__) || defined(__darwin__) /* Or presumably other BSD 4.4 systems */ ++#if defined(__FreeBSD__) || defined(__linux__) || defined(__darwin__) || (defined(BSD) && BSD >= 199306) /* Or presumably other BSD 4.4 systems */ + msg.msg_control = 0; + msg.msg_controllen = 0; + #else -- cgit v1.2.3