From d21da2f62f9f94e6b794d2062c2201f6141bb258 Mon Sep 17 00:00:00 2001 From: barate Date: Fri, 4 Mar 2011 16:08:40 +0000 Subject: [PATCH] Fixed Launcher according to libbatch changes --- src/Launcher/Launcher_Job.cxx | 4 ++++ src/Launcher/Launcher_Job_Command.cxx | 4 ++++ src/Launcher/Launcher_Job_SALOME.cxx | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/src/Launcher/Launcher_Job.cxx b/src/Launcher/Launcher_Job.cxx index f8ce9e6b9..7e8c42fa0 100644 --- a/src/Launcher/Launcher_Job.cxx +++ b/src/Launcher/Launcher_Job.cxx @@ -22,6 +22,10 @@ #include "Launcher_Job.hxx" #include "Launcher.hxx" +#ifdef WITH_LIBBATCH +#include +#endif + Launcher::Job::Job() { _number = -1; diff --git a/src/Launcher/Launcher_Job_Command.cxx b/src/Launcher/Launcher_Job_Command.cxx index 26d6ae9d5..233cfd5a2 100644 --- a/src/Launcher/Launcher_Job_Command.cxx +++ b/src/Launcher/Launcher_Job_Command.cxx @@ -21,6 +21,10 @@ // #include "Launcher_Job_Command.hxx" +#ifdef WITH_LIBBATCH +#include +#endif + #ifdef WNT #include #define _chmod chmod diff --git a/src/Launcher/Launcher_Job_SALOME.cxx b/src/Launcher/Launcher_Job_SALOME.cxx index 413c2fbac..db787791e 100644 --- a/src/Launcher/Launcher_Job_SALOME.cxx +++ b/src/Launcher/Launcher_Job_SALOME.cxx @@ -21,6 +21,10 @@ // #include "Launcher_Job_SALOME.hxx" +#ifdef WITH_LIBBATCH +#include +#endif + #ifdef WNT #include #define _chmod chmod -- 2.39.2