Bug 1439063 - Part 0: BitArray.h uses memset and therefore must #include <string.h>. r=jandem.
authorJason Orendorff <jorendorff@mozilla.com>
Thu, 22 Feb 2018 14:56:39 -0600
changeset 457533 7089df4b037451cd7cfa6176a0011ec50048d91c
parent 457532 03a00bb49a69b334c06c567a3c2bc198686f229e
child 457534 0ceb91c42b0ff876a61ed23f5e587ba3a2083bcf
push id8799
push usermtabara@mozilla.com
push dateThu, 01 Mar 2018 16:46:23 +0000
treeherdermozilla-beta@15334014dc67 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs1439063
milestone60.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 1439063 - Part 0: BitArray.h uses memset and therefore must #include <string.h>. r=jandem.
js/src/ds/BitArray.h
--- a/js/src/ds/BitArray.h
+++ b/js/src/ds/BitArray.h
@@ -5,16 +5,17 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #ifndef ds_BitArray_h
 #define ds_BitArray_h
 
 #include "mozilla/TemplateLib.h"
 
 #include <limits.h>
+#include <string.h>
 
 #include "jstypes.h"
 
 namespace js {
 
 template <size_t nbits>
 class BitArray
 {