Fix build for !BCPU(X86_64) after r228306
authorclopez@igalia.com <clopez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Feb 2018 13:37:40 +0000 (13:37 +0000)
committerclopez@igalia.com <clopez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Feb 2018 13:37:40 +0000 (13:37 +0000)
https://bugs.webkit.org/show_bug.cgi?id=182563

Unreviewed build fix.

* bmalloc/Algorithm.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@228317 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/bmalloc/ChangeLog
Source/bmalloc/bmalloc/Algorithm.h

index eeb7bfd..c5a7bc9 100644 (file)
@@ -1,3 +1,12 @@
+2018-02-09  Carlos Alberto Lopez Perez  <clopez@igalia.com>
+
+        Fix build for !BCPU(X86_64) after r228306
+        https://bugs.webkit.org/show_bug.cgi?id=182563
+
+        Unreviewed build fix.
+
+        * bmalloc/Algorithm.h:
+
 2018-02-08  Filip Pizlo  <fpizlo@apple.com>
 
         Experiment with alternative implementation of memcpy/memset
index f8d363e..86a5f92 100644 (file)
 #include <type_traits>
 #include <chrono>
 
+#if !BCPU(X86_64)
+#include <string.h>
+#endif
+
 namespace bmalloc {
 
 // Versions of min and max that are compatible with compile-time constants.