Add protection from min/max macros

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@145407 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/algorithm b/include/algorithm
index 6749bf6..6255c52 100644
--- a/include/algorithm
+++ b/include/algorithm
@@ -595,6 +595,8 @@
 #include <iterator>
 #include <cstdlib>
 
+#include <__undef_min_max>
+
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #pragma GCC system_header
 #endif