diff options
| author | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-10-12 19:27:44 +0000 |
|---|---|---|
| committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-10-12 19:27:44 +0000 |
| commit | 191da04d84695d448b71f37bb9bb5fc68daa5759 (patch) | |
| tree | 303b03a2eae54832773ef04c5513343a70718810 | |
| parent | a916859c14d024a1cdce668c679f20de8a159fbd (diff) | |
| download | external_llvm-191da04d84695d448b71f37bb9bb5fc68daa5759.zip external_llvm-191da04d84695d448b71f37bb9bb5fc68daa5759.tar.gz external_llvm-191da04d84695d448b71f37bb9bb5fc68daa5759.tar.bz2 | |
KillTheDoctor: Fix VS2008 build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116330 91177308-0d34-0410-b5e6-96231b3b80d8
| -rw-r--r-- | utils/KillTheDoctor/system_error.h | 5 |
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> |
