Bug 1289984: fix Windows compiler warnings. r=bwc draft
authorNils Ohlmeier [:drno] <drno@ohlmeier.org>
Wed, 27 Jul 2016 17:13:43 -0700
changeset 393607 5d5c2e088c6e0dffcba9d8692d4e1a878b24ae44
parent 393484 db3ed1fdbbeaf5ab1e8fe454780146e7499be3db
child 526627 8f5ba20e1336f95d54d300f21fb55d19f514c2a9
push id24365
push userdrno@ohlmeier.org
push dateThu, 28 Jul 2016 05:22:21 +0000
reviewersbwc
bugs1289984
milestone50.0a1
Bug 1289984: fix Windows compiler warnings. r=bwc MozReview-Commit-ID: EWSJZdxPzQk
media/mtransport/third_party/nICEr/src/net/transport_addr.c
media/mtransport/third_party/nICEr/src/net/transport_addr_reg.c
--- a/media/mtransport/third_party/nICEr/src/net/transport_addr.c
+++ b/media/mtransport/third_party/nICEr/src/net/transport_addr.c
@@ -45,16 +45,17 @@ static char *RCSSTRING __UNUSED__="$Id: 
 #else
 #include <unistd.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #endif
 #include <assert.h>
 #include "nr_api.h"
+#include "util.h"
 #include "transport_addr.h"
 
 int nr_transport_addr_fmt_addr_string(nr_transport_addr *addr)
   {
     int _status;
     /* Max length for normalized IPv6 address string representation is 39 */
     char buffer[40];
     const char *protocol;
--- a/media/mtransport/third_party/nICEr/src/net/transport_addr_reg.c
+++ b/media/mtransport/third_party/nICEr/src/net/transport_addr_reg.c
@@ -45,16 +45,17 @@ static char *RCSSTRING __UNUSED__="$Id: 
 #include <strings.h>
 #include <unistd.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #endif
 #include <assert.h>
 #include "nr_api.h"
+#include "util.h"
 #include "transport_addr.h"
 #include "transport_addr_reg.h"
 
 #ifndef INET6_ADDRSTRLEN
 #define INET6_ADDRSTRLEN 46 /* Value used by linux/BSD */
 #endif
 
 int