Windows support by Ruben Van Boxem.

llvm-svn: 142235
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 073458b1ab5489dce6f2ec789889c377b690ccf4
diff --git a/include/random b/include/random
index 0e0860e..c5c33c0 100644
--- a/include/random
+++ b/include/random
@@ -1646,7 +1646,9 @@
 #include <ostream>
 #include <cmath>
 
+#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #pragma GCC system_header
+#endif
 
 _LIBCPP_BEGIN_NAMESPACE_STD