Bug 1288987 - Unbreak mtransport tests on more BSDs. r=jesup
authorJan Beich <jbeich@FreeBSD.org>
Mon, 25 Jul 2016 02:21:56 +0000
changeset 348792 3ccb3bbe75fa1bbc248285900284646bfdaf56b4
parent 348791 4ed590c96a36c34c0118788000f1a4a37763c5a9
child 348793 cd7544affe40f0ed80059a7b22e2fed6639019d8
push id1230
push userjlund@mozilla.com
push dateMon, 31 Oct 2016 18:13:35 +0000
treeherdermozilla-release@5e06e3766db2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjesup
bugs1288987
milestone50.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 1288987 - Unbreak mtransport tests on more BSDs. r=jesup MozReview-Commit-ID: 41A3bKpN5pU
netwerk/sctp/src/usrsctp.h
--- a/netwerk/sctp/src/usrsctp.h
+++ b/netwerk/sctp/src/usrsctp.h
@@ -85,17 +85,18 @@ extern "C" {
 #endif
 
 typedef uint32_t sctp_assoc_t;
 
 #define AF_CONN 123
 /* The definition of struct sockaddr_conn MUST be in
  * tune with other sockaddr_* structures.
  */
-#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+#if defined(__APPLE__) || defined(__Bitrig__) || defined(__DragonFly__) || \
+    defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
 struct sockaddr_conn {
 	uint8_t sconn_len;
 	uint8_t sconn_family;
 	uint16_t sconn_port;
 	void *sconn_addr;
 };
 #else
 struct sockaddr_conn {