openbsd-ports/net/rtmpdump/patches/patch-streams_cpp

23 lines
497 B
Plaintext

$OpenBSD: patch-streams_cpp,v 1.1 2009/11/19 01:06:07 sthen Exp $
--- streams.cpp.orig Sat Nov 7 06:33:38 2009
+++ streams.cpp Thu Nov 19 01:01:58 2009
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <string.h>
#include <math.h>
+#include <pthread.h>
#include <signal.h> // to catch Ctrl-C
#include <getopt.h>
@@ -40,6 +41,10 @@
int debuglevel = 1;
using namespace RTMP_LIB;
+
+#ifndef MSG_NOSIGNAL
+#define MSG_NOSIGNAL 0
+#endif
#define RTMPDUMP_STREAMS_VERSION "v1.4"