summaryrefslogtreecommitdiff
path: root/mbone/rtptools/patches/patch-aa
blob: 5f7d08dc75d41ab5b604df02ef311a7c9d4182f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 <sys/param.h>
 #include <sys/types.h>
 #include <sys/uio.h>
 #include <sys/socket.h>
@@ -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