Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / mbone / rtptools / patches / patch-aa
blob51177f4ba846c3677454e5cc1b7b369a2fffcad8
1 $NetBSD$
3 --- rtptrans.c.orig     2002-10-08 10:18:21.000000000 +0000
4 +++ rtptrans.c
5 @@ -44,6 +44,7 @@
6  * 
7  */
8  
9 +#include <sys/param.h>
10  #include <sys/types.h>
11  #include <sys/uio.h>
12  #include <sys/socket.h>
13 @@ -326,7 +327,7 @@ static Notify_value socket_handler(Notif
14          if (side[i][proto].sock != sock) {
15            msg.msg_name = (caddr_t ) &side[i][proto].sin;
16            msg.msg_namelen = sizeof(side[i][proto].sin);
17 -#if defined(__FreeBSD__) || defined(__linux__) || defined(__darwin__) /* Or presumably other BSD 4.4 systems */
18 +#if defined(__FreeBSD__) || defined(__linux__) || defined(__darwin__) || (defined(BSD) && BSD >= 199306) /* Or presumably other BSD 4.4 systems */
19            msg.msg_control = 0;
20            msg.msg_controllen = 0;
21  #else