[llvm-commits] [llvm] r116330 - /llvm/trunk/utils/KillTheDoctor/system_error.h

Michael J. Spencer bigcheesegs at gmail.com
Tue Oct 12 12:27:44 PDT 2010


Author: mspencer
Date: Tue Oct 12 14:27:44 2010
New Revision: 116330

URL: http://llvm.org/viewvc/llvm-project?rev=116330&view=rev
Log:
KillTheDoctor: Fix VS2008 build.

Modified:
    llvm/trunk/utils/KillTheDoctor/system_error.h

Modified: llvm/trunk/utils/KillTheDoctor/system_error.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/KillTheDoctor/system_error.h?rev=116330&r1=116329&r2=116330&view=diff
==============================================================================
--- llvm/trunk/utils/KillTheDoctor/system_error.h (original)
+++ llvm/trunk/utils/KillTheDoctor/system_error.h Tue Oct 12 14:27:44 2010
@@ -224,6 +224,11 @@
 #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>





More information about the llvm-commits mailing list