Salome HOME
Ensure cmake_build_type is used in SALOME 9.12.0
[tools/sat_salome.git] / products / patches / SHAPER-9.10.0-visual-2019.patch
1 diff --git a/src/Config/Config_PropManager.cpp b/src/Config/Config_PropManager.cpp
2 index ba5d65b34..c57654d3e 100644
3 --- a/src/Config/Config_PropManager.cpp
4 +++ b/src/Config/Config_PropManager.cpp
5 @@ -18,7 +18,9 @@
6  //
7  
8  #include "Config_PropManager.h"
9 -
10 +#if defined(WIN32)
11 +  #include <locale.h>
12 +#endif
13  bool Config_PropManager::autoColorStatus = false;
14  
15  std::vector<int> stringToRGB(const std::string& theColor);
16 diff --git a/src/GeomAPI/GeomAPI_Shape.h b/src/GeomAPI/GeomAPI_Shape.h
17 index 2997fd602..a76d4c61f 100644
18 --- a/src/GeomAPI/GeomAPI_Shape.h
19 +++ b/src/GeomAPI/GeomAPI_Shape.h
20 @@ -25,6 +25,7 @@
21  #include <GeomAPI_Interface.h>
22  #include <memory>
23  #include <list>
24 +#include<string>
25  
26  class GeomAPI_Pnt;
27  class GeomAPI_Vertex;
28 diff --git a/src/InitializationPlugin/InitializationPlugin_EvalListener.h b/src/InitializationPlugin/InitializationPlugin_EvalListener.h
29 index f9c160656..d01406b99 100644
30 --- a/src/InitializationPlugin/InitializationPlugin_EvalListener.h
31 +++ b/src/InitializationPlugin/InitializationPlugin_EvalListener.h
32 @@ -22,7 +22,7 @@
33  
34  #include <InitializationPlugin.h>
35  #include <Events_Loop.h>
36 -
37 +#include <string>
38  class ModelAPI_Attribute;
39  class ModelAPI_Document;
40  class ModelAPI_Feature;
41 diff --git a/src/ModelAPI/ModelAPI_IReentrant.h b/src/ModelAPI/ModelAPI_IReentrant.h
42 index a71da9bbe..ae936c948 100644
43 --- a/src/ModelAPI/ModelAPI_IReentrant.h
44 +++ b/src/ModelAPI/ModelAPI_IReentrant.h
45 @@ -22,9 +22,11 @@
46  
47  #include "ModelAPI.h"
48  
49 +#include <string>
50  #include <vector>
51  #include <memory>
52  
53 +
54  class Events_Message;
55  
56  /** \class ModelAPI_IReentrant
57 diff --git a/src/ParametersPlugin/ParametersPlugin_EvalListener.h b/src/ParametersPlugin/ParametersPlugin_EvalListener.h
58 index ba1c4faca..e904e7cc4 100644
59 --- a/src/ParametersPlugin/ParametersPlugin_EvalListener.h
60 +++ b/src/ParametersPlugin/ParametersPlugin_EvalListener.h
61 @@ -19,7 +19,7 @@
62  
63  #ifndef SRC_PARAMETERSPLUGIN_EVALLISTENER_H_
64  #define SRC_PARAMETERSPLUGIN_EVALLISTENER_H_
65 -
66 +#include <string>
67  #include <ParametersPlugin.h>
68  #include <Events_Loop.h>
69