summaryrefslogblamecommitdiff
path: root/www-client/chromium/files/chromium-simhash-include-84.patch
blob: eb779218db0d0354579338f234309185504b5d4c (plain) (tree)

























                                                                                                  
diff --git a/components/federated_learning/sim_hash.cc b/components/federated_learning/sim_hash.cc
index 3624459f3..9287dbe72 100644
--- a/components/federated_learning/sim_hash.cc
+++ b/components/federated_learning/sim_hash.cc
@@ -6,6 +6,7 @@
 
 #include "base/hash/legacy_hash.h"
 
+#include <cmath>
 #include <algorithm>
 
 namespace federated_learning {
diff --git a/components/federated_learning/sim_hash.h b/components/federated_learning/sim_hash.h
index 55030d9d2..26087e74e 100644
--- a/components/federated_learning/sim_hash.h
+++ b/components/federated_learning/sim_hash.h
@@ -5,7 +5,9 @@
 #ifndef COMPONENTS_FEDERATED_LEARNING_SIM_HASH_H_
 #define COMPONENTS_FEDERATED_LEARNING_SIM_HASH_H_
 
+#include <stdint.h>
 #include <set>
+#include <string>
 #include <unordered_set>
 
 namespace federated_learning {