Bug 891551 - Part 1: A couple of include-what-you-use fixes to the pre-existing code. r=ekr
authorByron Campen [:bwc] <docfaraday@gmail.com>
Tue, 01 Apr 2014 13:13:59 -0700
changeset 181601 44790b5e19768b0e1f67747a9d38a092e2493b10
parent 181600 12df2fde3a57f68ea7dbc4640aed44f40f552293
child 181602 1c40e473da4c6cf3b0231c34375776d76ea393d6
push id26724
push userkwierso@gmail.com
push dateTue, 06 May 2014 03:51:22 +0000
treeherdermozilla-central@6d991528460d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersekr
bugs891551
milestone32.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 891551 - Part 1: A couple of include-what-you-use fixes to the pre-existing code. r=ekr
media/mtransport/third_party/nICEr/src/net/nr_socket.h
media/mtransport/third_party/nrappkit/src/util/libekr/r_memory.h
--- a/media/mtransport/third_party/nICEr/src/net/nr_socket.h
+++ b/media/mtransport/third_party/nICEr/src/net/nr_socket.h
@@ -39,16 +39,17 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 #ifdef WIN32
 #include <winsock2.h>
 #include <ws2tcpip.h>
 #else
 #include <sys/socket.h>
 #endif
 
 #include "transport_addr.h"
+#include "csi_platform.h"
 
 #ifdef __cplusplus
 #define restrict
 #elif defined(WIN32)
 #define restrict __restrict
 #endif
 
 typedef struct nr_socket_vtbl_ {
--- a/media/mtransport/third_party/nrappkit/src/util/libekr/r_memory.h
+++ b/media/mtransport/third_party/nrappkit/src/util/libekr/r_memory.h
@@ -37,16 +37,18 @@
  */
 
 
 #ifndef _r_memory_h
 #define _r_memory_h
 
 #define R_MALLOC_X 2
 
+#include "r_types.h"
+
 void *r_malloc(int type, size_t size);
 void *r_malloc_compat(size_t size);
 void *r_calloc(int type,size_t number,size_t size);
 void r_free   (void *ptr);
 void *r_realloc(void *ptr,size_t size);
 char *r_strdup(const char *str);
 int r_mem_get_usage(UINT4 *usage);
 int r_memory_dump_stats(void);