Bug 1414506 - Drive-by: Add missing <cstring> include to XZStream.cpp. r=froydnj
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 19 Jan 2018 20:08:08 +0900
changeset 400824 6d040b09b48dc9124bb2e1e885267556e5a4ae05
parent 400823 1447c185cfb32e6e4132e38caab2d4ab88f2ed40
child 400825 534f60b7cb2b41b9bc7024b34332521160054c9f
push id58651
push usermh@glandium.org
push dateThu, 25 Jan 2018 21:28:50 +0000
treeherderautoland@3b862e2b9e0b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1414506
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 1414506 - Drive-by: Add missing <cstring> include to XZStream.cpp. r=froydnj
mozglue/linker/XZStream.cpp
--- a/mozglue/linker/XZStream.cpp
+++ b/mozglue/linker/XZStream.cpp
@@ -1,11 +1,12 @@
 #include "XZStream.h"
 
 #include <algorithm>
+#include <cstring>
 #include "mozilla/Assertions.h"
 #include "mozilla/CheckedInt.h"
 #include "Logging.h"
 
 // LZMA dictionary size, should have a minimum size for the given compression
 // rate, see XZ Utils docs for details.
 static const uint32_t kDictSize = 1 << 24;