We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0c571d commit 304a538Copy full SHA for 304a538
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 6e1b57e6fc36dd2701ea6f6d0048df2a90909548
+refs/heads/master: 3bcffac402a87d75621754e4121e81f166b09a96
3
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
trunk/lib/Basic/Statistic.cpp
@@ -27,8 +27,12 @@
27
#include "llvm/Support/raw_ostream.h"
28
#include <chrono>
29
#include <limits>
30
-#include <unistd.h>
31
+#if LLVM_ON_UNIX
32
+#if HAVE_UNISTD_H
33
+#include <unistd.h>
34
+#endif
35
36
#ifdef HAVE_SYS_TIME_H
37
#include <sys/time.h>
38
#endif
0 commit comments