aboutsummaryrefslogtreecommitdiffstats
path: root/main/rtpproxy/prevent-pthread-from-running-macro.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/rtpproxy/prevent-pthread-from-running-macro.patch')
-rw-r--r--main/rtpproxy/prevent-pthread-from-running-macro.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/rtpproxy/prevent-pthread-from-running-macro.patch b/main/rtpproxy/prevent-pthread-from-running-macro.patch
new file mode 100644
index 0000000000..6f63ea6bc4
--- /dev/null
+++ b/main/rtpproxy/prevent-pthread-from-running-macro.patch
@@ -0,0 +1,11 @@
+--- ./src/rtpp_memdeb.h.orig
++++ ./src/rtpp_memdeb.h
+@@ -29,6 +29,8 @@
+ #include <string.h>
+ #include <stdlib.h>
+
++#include <pthread.h>
++
+ #undef malloc
+ #define malloc(n) rtpp_memdeb_malloc((n), __FILE__, __LINE__, __func__)
+ #undef free