diff --git a/libcxx/src/random.cpp b/libcxx/src/random.cpp index 47cdee402b7f..bd24f2e50c1a 100644 --- a/libcxx/src/random.cpp +++ b/libcxx/src/random.cpp @@ -19,8 +19,10 @@ #ifdef __sun__ #define rename solaris_headers_are_broken #endif +#if !defined(_WIN32) #include #include +#endif // defined(_WIN32) #include _LIBCPP_BEGIN_NAMESPACE_STD