From a03837750585c2cbe555dc57c93c222827bd862a Mon Sep 17 00:00:00 2001 From: spo Date: Wed, 3 Jun 2015 10:06:10 +0300 Subject: [PATCH] Fix pyconfig redefined declarations for _XOPEN_SOURCE and _POSIX_C_SOURCE --- src/Config/Config_ModuleReader.cpp | 2 ++ src/ParametersPlugin/ParametersPlugin_EvalListener.cpp | 3 +++ src/ParametersPlugin/ParametersPlugin_EvalListener.h | 3 ++- src/ParametersPlugin/ParametersPlugin_Parameter.cpp | 2 ++ src/ParametersPlugin/ParametersPlugin_Plugin.cpp | 2 ++ 5 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/Config/Config_ModuleReader.cpp b/src/Config/Config_ModuleReader.cpp index ff9ba1f4d..d298a412c 100644 --- a/src/Config/Config_ModuleReader.cpp +++ b/src/Config/Config_ModuleReader.cpp @@ -7,6 +7,8 @@ * Author: sbh */ +#include + #include #include #include diff --git a/src/ParametersPlugin/ParametersPlugin_EvalListener.cpp b/src/ParametersPlugin/ParametersPlugin_EvalListener.cpp index a8aa64e89..968c16769 100644 --- a/src/ParametersPlugin/ParametersPlugin_EvalListener.cpp +++ b/src/ParametersPlugin/ParametersPlugin_EvalListener.cpp @@ -5,7 +5,10 @@ * Author: sbh */ +#include + #include +#include #include diff --git a/src/ParametersPlugin/ParametersPlugin_EvalListener.h b/src/ParametersPlugin/ParametersPlugin_EvalListener.h index 057ca7924..50c5727f2 100644 --- a/src/ParametersPlugin/ParametersPlugin_EvalListener.h +++ b/src/ParametersPlugin/ParametersPlugin_EvalListener.h @@ -10,7 +10,8 @@ #include #include -#include + +class ParametersPlugin_PyInterp; class PARAMETERSPLUGIN_EXPORT ParametersPlugin_EvalListener : public Events_Listener { diff --git a/src/ParametersPlugin/ParametersPlugin_Parameter.cpp b/src/ParametersPlugin/ParametersPlugin_Parameter.cpp index 58280994c..9d64cef32 100644 --- a/src/ParametersPlugin/ParametersPlugin_Parameter.cpp +++ b/src/ParametersPlugin/ParametersPlugin_Parameter.cpp @@ -4,6 +4,8 @@ // Created: 23 MArch 2015 // Author: sbh +#include + #include "ParametersPlugin_Parameter.h" #include diff --git a/src/ParametersPlugin/ParametersPlugin_Plugin.cpp b/src/ParametersPlugin/ParametersPlugin_Plugin.cpp index e80aa1b69..e82a5f67d 100644 --- a/src/ParametersPlugin/ParametersPlugin_Plugin.cpp +++ b/src/ParametersPlugin/ParametersPlugin_Plugin.cpp @@ -1,5 +1,7 @@ // Copyright (C) 2014-20xx CEA/DEN, EDF R&D +#include + #include #include #include -- 2.39.2