aboutsummaryrefslogtreecommitdiffstats
path: root/main/firefox/fix-media.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/firefox/fix-media.patch')
-rw-r--r--main/firefox/fix-media.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/main/firefox/fix-media.patch b/main/firefox/fix-media.patch
new file mode 100644
index 000000000..a016a4875
--- /dev/null
+++ b/main/firefox/fix-media.patch
@@ -0,0 +1,38 @@
+--- mozilla-release/media.orig/mtransport/third_party/nICEr/src/stun/addrs.c
++++ mozilla-release/media/mtransport/third_party/nICEr/src/stun/addrs.c
+@@ -45,7 +45,6 @@
+ #include <sys/param.h>
+ #include <sys/socket.h>
+ #ifndef ANDROID
+-#include <sys/sysctl.h>
+ #include <sys/syslog.h>
+ #else
+ #include <syslog.h>
+@@ -53,7 +52,6 @@
+ #undef __unused
+ #include <linux/sysctl.h>
+ #endif
+-#include <net/if.h>
+ #ifndef LINUX
+ #if !defined(__OpenBSD__) && !defined(__NetBSD__)
+ #include <net/if_var.h>
+@@ -63,8 +61,8 @@
+ #include <sys/sockio.h>
+ #else
+ #include <linux/sockios.h>
+-#include <linux/if.h>
+ #include <linux/kernel.h>
++#include <linux/if.h>
+ #include <linux/wireless.h>
+ #ifndef ANDROID
+ #include <linux/ethtool.h>
+--- mozilla-release/media.orig/mtransport/third_party/nICEr/src/stun/stun.h
++++ mozilla-release/media/mtransport/third_party/nICEr/src/stun/stun.h
+@@ -39,7 +39,6 @@
+ #else
+ #include <sys/param.h>
+ #include <sys/socket.h>
+-#include <net/if.h>
+ #ifndef LINUX
+ #if !defined(__OpenBSD__) && !defined(__NetBSD__)
+ #include <net/if_var.h>