Salome HOME
Issue 0019981: integrate patch for compilation with cmake (from E.Adam)
[modules/kernel.git] / src / Batch / Batch_BatchManager_Local_SH.cxx
index be9b990ea4964d300e4233e4c4ed6c4cc482cd1c..a4d09383d77cd1345135dbf8ed9dca01b358ac73 100644 (file)
 #include <sstream>
 #include <cstdlib>
 #include <sys/types.h>
+#ifndef WIN32
 #include <sys/wait.h>
-#include <ctime>
 #include <unistd.h>
+#endif
+#include <ctime>
 #include <pthread.h>
 #include <signal.h>
 #include <errno.h>
@@ -57,6 +59,8 @@
 #error "SH undefined. You must set SH to a valid path to a sh-like command."
 #endif
 
+using namespace std;
+
 namespace Batch {