summaryrefslogtreecommitdiffstats
path: root/libcxx/src/thread.cpp
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-09-23 16:11:27 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-09-23 16:11:27 +0000
commitdbe8111948d372a6f7445e86a0ac985717fbe1bc (patch)
treec1b32170cbebef28cb095d90a69cbea28a050397 /libcxx/src/thread.cpp
parenta54fd541c23916eb65b252da1690516cb09f6731 (diff)
downloadbcm5719-llvm-dbe8111948d372a6f7445e86a0ac985717fbe1bc.tar.gz
bcm5719-llvm-dbe8111948d372a6f7445e86a0ac985717fbe1bc.zip
Work on Windows port by Ruben Van Boxem
llvm-svn: 140384
Diffstat (limited to 'libcxx/src/thread.cpp')
-rw-r--r--libcxx/src/thread.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/src/thread.cpp b/libcxx/src/thread.cpp
index 4ccff3277f5..b07f8f85107 100644
--- a/libcxx/src/thread.cpp
+++ b/libcxx/src/thread.cpp
@@ -12,7 +12,9 @@
#include "vector"
#include "future"
#include <sys/types.h>
+#if !_WIN32
#include <sys/sysctl.h>
+#endif // _WIN32
_LIBCPP_BEGIN_NAMESPACE_STD
OpenPOWER on IntegriCloud