aboutsummaryrefslogtreecommitdiffstats
path: root/utils/KillTheDoctor
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-10-12 19:27:44 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-10-12 19:27:44 +0000
commit09203ac3dd5fe8a43a26aab589334ed7907afbf8 (patch)
tree303b03a2eae54832773ef04c5513343a70718810 /utils/KillTheDoctor
parent65b65d6ca49fe1c55722053d3ed2549e1399e717 (diff)
downloadexternal_llvm-09203ac3dd5fe8a43a26aab589334ed7907afbf8.zip
external_llvm-09203ac3dd5fe8a43a26aab589334ed7907afbf8.tar.gz
external_llvm-09203ac3dd5fe8a43a26aab589334ed7907afbf8.tar.bz2
KillTheDoctor: Fix VS2008 build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116330 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/KillTheDoctor')
-rw-r--r--utils/KillTheDoctor/system_error.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/KillTheDoctor/system_error.h b/utils/KillTheDoctor/system_error.h
index 9413412..e7ecb44 100644
--- a/utils/KillTheDoctor/system_error.h
+++ b/utils/KillTheDoctor/system_error.h
@@ -224,6 +224,11 @@ template <> struct hash<std::error_code>;
#include <cerrno>
#include <string>
+#ifdef LLVM_ON_WIN32
+ // VS 2008 needs this for some of the defines below.
+# include <WinSock2.h>
+#endif
+
namespace llvm {
template <class T, T v>