folly: fix sysMembarrier() with newer kernel headers
[folly.git] / folly / detail / MemoryIdler.h
index 13fe453ef063c07dd47524e82e150f972ae0ed31..1cabfecc558eea838d8873769b7378df3cb9f2b0 100644 (file)
@@ -20,9 +20,9 @@
 #include <chrono>
 
 #include <folly/AtomicStruct.h>
-#include <folly/Hash.h>
 #include <folly/Traits.h>
 #include <folly/detail/Futex.h>
+#include <folly/hash/Hash.h>
 #include <folly/system/ThreadId.h>
 
 namespace folly {
@@ -33,7 +33,7 @@ template <>
 struct IsTriviallyCopyable<std::chrono::steady_clock::duration>
   : std::true_type {};
 
-}
+} // namespace folly
 
 namespace folly { namespace detail {
 
@@ -150,4 +150,5 @@ struct MemoryIdler {
   }
 };
 
-}} // namespace folly::detail
+} // namespace detail
+} // namespace folly