From 503996004185023706e09937a0ee19e6fa5929e3 Mon Sep 17 00:00:00 2001 From: barate Date: Fri, 25 May 2012 09:18:43 +0000 Subject: [PATCH] unistd.h does not exist on Windows --- src/Core/Batch_BatchManager.cxx | 2 +- src/Core/Batch_BatchManager_eClient.cxx | 5 ++--- src/Vishnu/Batch_BatchManager_eVishnu.cxx | 3 +++ 3 files changed, 6 insertions(+), 4 deletions(-) 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 -- 2.39.2