KillTheDoctor: Fix VS2008 build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116330 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael J. Spencer 2010-10-12 19:27:44 +00:00
parent 65b65d6ca4
commit 09203ac3dd

View File

@ -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>