diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-13 16:54:38 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-13 16:54:38 -0800 |
commit | 2914deb17f3857bb02eeec87a58a3ed6d4a8853a (patch) | |
tree | 5425d058e199bade4f43cf0dc526a52f4b556b71 /system/lib/libcxx/random.cpp | |
parent | 7844db37f5b6dce1e7772f955ff606ef806ae032 (diff) | |
parent | ee4a2df911e834285aed9148eb4cab4546c8a063 (diff) |
Merge pull request #2004 from waywardmonkeys/updates
Updates
Diffstat (limited to 'system/lib/libcxx/random.cpp')
-rw-r--r-- | system/lib/libcxx/random.cpp | 2 |
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 |