Bug 1289984: fix Windows compiler warnings. r=bwc
MozReview-Commit-ID: EWSJZdxPzQk
--- 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