For PR351:
[oota-llvm.git] / lib / System / Process.cpp
index aba9bfa27c3c53615b07f7ba9f7e5953011f63ff..5aefb6a336998288ba0d992bde97fcafa0282da3 100644 (file)
@@ -12,6 +12,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/System/Process.h"
+#include "llvm/Config/config.h"
 
 namespace llvm {
 using namespace sys;
@@ -24,6 +25,11 @@ using namespace sys;
 }
 
 // Include the platform-specific parts of this class.
-#include "platform/Process.cpp"
+#ifdef LLVM_ON_UNIX
+#include "Unix/Process.cpp"
+#endif
+#ifdef LLVM_ON_WIN32
+#include "Win32/Process.cpp"
+#endif
 
 // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab