Add protection from min/max macros

llvm-svn: 145407
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: ab4f438239424dd39b83338ab0b4faa41245e506
diff --git a/include/fstream b/include/fstream
index b6a2ab0..4456c01 100644
--- a/include/fstream
+++ b/include/fstream
@@ -171,6 +171,8 @@
 #include <__locale>
 #include <cstdio>
 
+#include <__undef_min_max>
+
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #pragma GCC system_header
 #endif