Bug 1575876 - Drop header unused on FreeBSD that breaks with new libc++. r=bwc
authorTijl Coosemans <tijl@FreeBSD.org>
Sat, 24 Aug 2019 01:38:05 +0300
changeset 489751 c8773774d96976aea43a9540546d023688d81920
parent 489750 9a93f28a4de77f7d83b51f48f21b62fae2304dd2
child 489752 0f58e37830b0cfa0f34499d84fdc9ae264b312f2
push id36480
push useraciure@mozilla.com
push dateSat, 24 Aug 2019 09:51:44 +0000
treeherdermozilla-central@fce0b326cd31 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbwc
bugs1575876
milestone70.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1575876 - Drop header unused on FreeBSD that breaks with new libc++. r=bwc
media/mtransport/third_party/nICEr/src/stun/stun.h
--- a/media/mtransport/third_party/nICEr/src/stun/stun.h
+++ b/media/mtransport/third_party/nICEr/src/stun/stun.h
@@ -36,17 +36,17 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 
 #ifdef WIN32
 #include <winsock2.h>
 #else
 #include <sys/param.h>
 #include <sys/socket.h>
 #ifndef LINUX
 #include <net/if.h>
-#if !defined(__OpenBSD__) && !defined(__NetBSD__)
+#ifdef DARWIN
 #include <net/if_var.h>
 #endif
 #include <net/if_dl.h>
 #include <net/if_types.h>
 #else
 #include <linux/if.h>
 #endif
 #ifndef BSD