diff options
Diffstat (limited to 'utils/KillTheDoctor/system_error.h')
-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 941341270d..e7ecb4406c 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> |