Bug 1414506 - Drive-by: Add missing <cstring> include to XZStream.cpp. r?froydnj draft
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 19 Jan 2018 20:08:08 +0900
changeset 747312 7b5a92c5d3669d1890378b08724f4633ad9eed56
parent 724332 e22e2c9eb81686e958a9448ea3d1e8cd766743e2
child 747313 e0b088f3b2cb2d807718522708d69dbe2262532b
push id96871
push userbmo:mh+mozilla@glandium.org
push dateThu, 25 Jan 2018 21:23:22 +0000
reviewersfroydnj
bugs1414506
milestone60.0a1
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;