openbsd-ports/mbone/rtptools/patches/patch-ae

30 lines
1023 B
Plaintext

*** rtptrans.c.orig Wed Sep 9 19:06:34 1998
--- rtptrans.c Wed Sep 9 19:07:44 1998
***************
*** 54,60 ****
#include <stdio.h>
#include <signal.h>
#include <errno.h>
- #include <values.h>
#include <unistd.h> /* select(), perror() */
#include <stdlib.h> /* getopt(), atoi() */
#include <memory.h> /* memset() */
--- 54,59 ----
***************
*** 327,333 ****
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__) /* Or presumably other BSD 4.4 systems */
msg.msg_control = 0;
msg.msg_controllen = 0;
#else
--- 326,332 ----
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(__OpenBSD__) /* Or presumably other BSD 4.4 systems */
msg.msg_control = 0;
msg.msg_controllen = 0;
#else