Index: llvm/trunk/include/llvm/Support/SwapByteOrder.h =================================================================== --- llvm/trunk/include/llvm/Support/SwapByteOrder.h +++ llvm/trunk/include/llvm/Support/SwapByteOrder.h @@ -18,6 +18,9 @@ #include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include +#if defined(_MSC_VER) && !defined(_DEBUG) +#include +#endif namespace llvm { namespace sys { Index: llvm/trunk/lib/Support/Windows/Signals.inc =================================================================== --- llvm/trunk/lib/Support/Windows/Signals.inc +++ llvm/trunk/lib/Support/Windows/Signals.inc @@ -28,6 +28,7 @@ #ifdef __MINGW32__ #include #else + #include #include #endif #include