Index: llvm/lib/System/Threading.cpp
===================================================================
--- llvm.orig/lib/System/Threading.cpp
+++ llvm/lib/System/Threading.cpp
@@ -11,6 +11,7 @@
 //
 //===----------------------------------------------------------------------===//
 
+#include "llvm/Config/config.h"
 #include "llvm/System/Threading.h"
 #include "llvm/System/Atomic.h"
 #include "llvm/System/Mutex.h"
