$NetBSD: patch-aa,v 1.2 2017/05/06 08:22:23 mef Exp $

Support (generic) BSD

--- rtptrans.c.orig	2015-01-20 12:28:00.000000000 +0900
+++ rtptrans.c	2017-05-06 17:11:55.000000000 +0900
@@ -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(__unix__) || defined(__FreeBSD__) || defined(__linux__) || defined(__darwin__) /* Or presumably other BSD 4.4 systems */
+#if defined(__unix__) || 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
