aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-03-13 06:25:59 -0700
committerRobert Schumacher <roschuma@microsoft.com>2018-03-13 06:25:59 -0700
commitf72b46690a89a7e19563f93f0eaa5f8a21184254 (patch)
treef2434ad442d94ebecb6883aa43f3d443dd34a0fb /toolsrc/include
parent511128b1c0478e02b50ca27ed7b8b0af3a6b91f1 (diff)
downloadvcpkg-f72b46690a89a7e19563f93f0eaa5f8a21184254.tar.gz
vcpkg-f72b46690a89a7e19563f93f0eaa5f8a21184254.zip
[vcpkg] Silence warnings on recent clang
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/pch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolsrc/include/pch.h b/toolsrc/include/pch.h
index 683bef171..9c9deeb3f 100644
--- a/toolsrc/include/pch.h
+++ b/toolsrc/include/pch.h
@@ -46,7 +46,11 @@
#include <set>
#include <stdexcept>
#include <string>
+#if defined(_WIN32)
#include <sys/timeb.h>
+#else
+#include <sys/time.h>
+#endif
#include <sys/types.h>
#include <system_error>
#include <thread>