From: rahuel Date: Thu, 9 Feb 2006 15:54:18 +0000 (+0000) Subject: include of Python.h must be the last one and generally X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a1b37c59669d74d6cf8927ef109bca15ebdabea7;p=modules%2Fkernel.git include of Python.h must be the last one and generally some system includes must be added before as : #include #include #include #include --- diff --git a/src/LifeCycleCORBA/Launchers.cxx b/src/LifeCycleCORBA/Launchers.cxx index 3400d4474..048c32c81 100644 --- a/src/LifeCycleCORBA/Launchers.cxx +++ b/src/LifeCycleCORBA/Launchers.cxx @@ -17,9 +17,14 @@ // // See http://www.salome-platform.org/ // -#include + +#include +#include + #include "utilities.h" +#include + using namespace std; static int Launchers_IsLoaded = 0; diff --git a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx index 439d10fb5..7235a74a0 100644 --- a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx +++ b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx @@ -31,9 +31,11 @@ #include #include +#include +#include + #include "OpUtil.hxx" #include "utilities.h" -#include "Launchers.hxx" #include @@ -47,6 +49,8 @@ #include "SALOME_ContainerManager.hxx" #include "SALOME_Component_i.hxx" #include "SALOME_NamingService.hxx" +#include "Launchers.hxx" + using namespace std; IncompatibleComponent::IncompatibleComponent( void ): diff --git a/src/MPIContainer/MPIContainer_i.cxx b/src/MPIContainer/MPIContainer_i.cxx index dfeb178e1..1acd943e3 100644 --- a/src/MPIContainer/MPIContainer_i.cxx +++ b/src/MPIContainer/MPIContainer_i.cxx @@ -33,6 +33,8 @@ #include "Utils_SINGLETON.hxx" #include "OpUtil.hxx" #include "utilities.h" +#include +#include #include // must be before Python.h ! #include #include "Container_init_python.hxx"