avoid-redefinition.patch 647 B

12345678910111213141516
  1. Author: Rasmus Thomsen <oss@cogitri.dev>
  2. Reason: FF is mixing userspace net headers (net/if.h) and kernelspace ones
  3. (linux/if.h), leading to redefinitions. We need to include net/if.h before
  4. linux/if.h because linux/if.h has redifinition guards whereas net/if.h doesnt
  5. Upstream: No
  6. --- a/dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-netlink.c 2020-07-28 19:24:32.359751046 +0200
  7. +++ b/dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-netlink.c 2020-07-28 19:24:37.856343751 +0200
  8. @@ -31,6 +31,7 @@
  9. */
  10. #if defined(LINUX)
  11. +#include <net/if.h>
  12. #include "addrs-netlink.h"
  13. #include <csi_platform.h>
  14. #include <assert.h>