From: barate Date: Fri, 25 May 2012 09:18:43 +0000 (+0000) Subject: unistd.h does not exist on Windows X-Git-Tag: V1_5_0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=503996004185023706e09937a0ee19e6fa5929e3;p=tools%2Flibbatch.git unistd.h does not exist on Windows --- diff --git a/src/Core/Batch_BatchManager.cxx b/src/Core/Batch_BatchManager.cxx index 591399d..3d0b8d9 100644 --- a/src/Core/Batch_BatchManager.cxx +++ b/src/Core/Batch_BatchManager.cxx @@ -28,13 +28,13 @@ * */ -#include #include #include #include #ifdef WIN32 # include #else +#include # include #endif diff --git a/src/Core/Batch_BatchManager_eClient.cxx b/src/Core/Batch_BatchManager_eClient.cxx index 835b595..2098e72 100644 --- a/src/Core/Batch_BatchManager_eClient.cxx +++ b/src/Core/Batch_BatchManager_eClient.cxx @@ -29,7 +29,6 @@ * */ -#include #include #include @@ -38,11 +37,11 @@ #include #include -#include - #ifdef WIN32 #include #include +#else +#include #endif #include diff --git a/src/Vishnu/Batch_BatchManager_eVishnu.cxx b/src/Vishnu/Batch_BatchManager_eVishnu.cxx index 2bf1ee7..8c78ed8 100644 --- a/src/Vishnu/Batch_BatchManager_eVishnu.cxx +++ b/src/Vishnu/Batch_BatchManager_eVishnu.cxx @@ -26,7 +26,10 @@ * Author : Renaud BARATE - EDF R&D */ +#ifndef WIN32 #include +#endif + #include #include #include