Fix folly/ThreadLocal with clang after PthreadKeyUnregister change
[folly.git] / folly / detail / CacheLocality.h
index 40d554f484044e6eb978b02834c03bf6db4b87c7..8731d485aafbcc6f8067bea95ae9e341ed277c3d 100644 (file)
@@ -18,6 +18,7 @@
 #define FOLLY_DETAIL_CACHELOCALITY_H_
 
 #include <sched.h>
+#include <algorithm>
 #include <atomic>
 #include <cassert>
 #include <functional>