Improve of string.h include after r228317.
authorclopez@igalia.com <clopez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Feb 2018 18:03:02 +0000 (18:03 +0000)
committerclopez@igalia.com <clopez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Feb 2018 18:03:02 +0000 (18:03 +0000)
https://bugs.webkit.org/show_bug.cgi?id=182642

Reviewed by Mark Lam.

* bmalloc/Algorithm.h: Avoid an architecture-specific #include.

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

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

index c5a7bc9..e9d9e46 100644 (file)
@@ -1,5 +1,14 @@
 2018-02-09  Carlos Alberto Lopez Perez  <clopez@igalia.com>
 
+        Improve of string.h include after r228317.
+        https://bugs.webkit.org/show_bug.cgi?id=182642
+
+        Reviewed by Mark Lam.
+
+        * bmalloc/Algorithm.h: Avoid an architecture-specific #include.
+
+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
 
index 86a5f92..7948f43 100644 (file)
 #include <cstdint>
 #include <cstddef>
 #include <limits>
+#include <string.h>
 #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.