[libc++] Granularize the rest of memory

Reviewed By: ldionne, #libc

Spies: vitalybuka, paulkirth, libcxx-commits, mgorny

Differential Revision: https://reviews.llvm.org/D132790

NOKEYCHECK=True
GitOrigin-RevId: d5e26775d089d099d02b168de8ea52179b1b1f75
diff --git a/include/fstream b/include/fstream
index a6bd4a8..95f345f 100644
--- a/include/fstream
+++ b/include/fstream
@@ -192,6 +192,7 @@
 #include <cstring>
 #include <istream>
 #include <ostream>
+#include <typeinfo>
 #include <version>
 
 #if !defined(_LIBCPP_HAS_NO_FILESYSTEM_LIBRARY)