Add protection from min/max macros

llvm-svn: 145407
diff --git a/libcxx/include/regex b/libcxx/include/regex
index 048fbef..1da7b0e 100644
--- a/libcxx/include/regex
+++ b/libcxx/include/regex
@@ -732,6 +732,8 @@
 #include <vector>
 #include <deque>
 
+#include <__undef_min_max>
+
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #pragma GCC system_header
 #endif