From a1b37c59669d74d6cf8927ef109bca15ebdabea7 Mon Sep 17 00:00:00 2001 From: rahuel Date: Thu, 9 Feb 2006 15:54:18 +0000 Subject: [PATCH] include of Python.h must be the last one and generally some system includes must be added before as : #include #include #include #include --- src/LifeCycleCORBA/Launchers.cxx | 7 ++++++- src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx | 6 +++++- src/MPIContainer/MPIContainer_i.cxx | 2 ++ 3 files changed, 13 insertions(+), 2 deletions(-) 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" -- 2.39.2