diff --git a/folly/lang/Bits.h b/folly/lang/Bits.h
index f0beb5b..f86a1a3 100644
--- a/folly/lang/Bits.h
+++ b/folly/lang/Bits.h
@@ -64,6 +64,10 @@
 #include <folly/lang/Assume.h>
 #include <folly/portability/Builtins.h>
 
+#if __has_include(<bit>)
+#include <bit>
+#endif
+
 namespace folly {
 
 #if __cpp_lib_bit_cast
