aboutsummaryrefslogtreecommitdiff
path: root/system/lib/libcxx/random.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'system/lib/libcxx/random.cpp')
-rw-r--r--system/lib/libcxx/random.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/lib/libcxx/random.cpp b/system/lib/libcxx/random.cpp
index 47cdee40..bd24f2e5 100644
--- a/system/lib/libcxx/random.cpp
+++ b/system/lib/libcxx/random.cpp
@@ -19,8 +19,10 @@
#ifdef __sun__
#define rename solaris_headers_are_broken
#endif
+#if !defined(_WIN32)
#include <fcntl.h>
#include <unistd.h>
+#endif // defined(_WIN32)
#include <errno.h>
_LIBCPP_BEGIN_NAMESPACE_STD