From: spo Date: Wed, 3 Jun 2015 07:06:10 +0000 (+0300) Subject: Fix pyconfig redefined declarations for _XOPEN_SOURCE and _POSIX_C_SOURCE X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a03837750585c2cbe555dc57c93c222827bd862a;p=modules%2Fshaper.git Fix pyconfig redefined declarations for _XOPEN_SOURCE and _POSIX_C_SOURCE --- 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