diff --git a/src/Mod/PartDesign/App/AppPartDesign.cpp b/src/Mod/PartDesign/App/AppPartDesign.cpp index ee49850477..d1e522411c 100644 --- a/src/Mod/PartDesign/App/AppPartDesign.cpp +++ b/src/Mod/PartDesign/App/AppPartDesign.cpp @@ -20,11 +20,7 @@ * * ***************************************************************************/ - #include "PreCompiled.h" -#ifndef _PreComp_ -# include -#endif #include #include @@ -61,6 +57,7 @@ #include "FeatureTransformed.h" #include "ShapeBinder.h" + namespace PartDesign { extern PyObject* initModule(); } diff --git a/src/Mod/PartDesign/App/AppPartDesignPy.cpp b/src/Mod/PartDesign/App/AppPartDesignPy.cpp index 056f99343a..e448dd58fe 100644 --- a/src/Mod/PartDesign/App/AppPartDesignPy.cpp +++ b/src/Mod/PartDesign/App/AppPartDesignPy.cpp @@ -20,18 +20,14 @@ * * ***************************************************************************/ - #include "PreCompiled.h" -#ifndef _PreComp_ -# include -#endif - #include #include #include #include + namespace PartDesign { class Module : public Py::ExtensionModule { diff --git a/src/Mod/PartDesign/App/PreCompiled.h b/src/Mod/PartDesign/App/PreCompiled.h index 7454b6fce7..4fb0457aa4 100644 --- a/src/Mod/PartDesign/App/PreCompiled.h +++ b/src/Mod/PartDesign/App/PreCompiled.h @@ -114,9 +114,6 @@ # include #endif - -#include - #endif // _PreComp_ #endif diff --git a/src/Mod/PartDesign/Gui/AppPartDesignGui.cpp b/src/Mod/PartDesign/Gui/AppPartDesignGui.cpp index d7cfb272d5..312637a097 100644 --- a/src/Mod/PartDesign/Gui/AppPartDesignGui.cpp +++ b/src/Mod/PartDesign/Gui/AppPartDesignGui.cpp @@ -20,11 +20,7 @@ * * ***************************************************************************/ - #include "PreCompiled.h" -#ifndef _PreComp_ -# include -#endif #include #include @@ -66,6 +62,7 @@ #include "ViewProviderShapeBinder.h" #include "ViewProviderBase.h" + // use a different name to CreateCommand() void CreatePartDesignCommands(void); void CreatePartDesignBodyCommands(void); diff --git a/src/Mod/PartDesign/Gui/PreCompiled.h b/src/Mod/PartDesign/Gui/PreCompiled.h index c07f6e4489..a9c3fcaf08 100644 --- a/src/Mod/PartDesign/Gui/PreCompiled.h +++ b/src/Mod/PartDesign/Gui/PreCompiled.h @@ -50,17 +50,13 @@ #ifdef _PreComp_ -// Python -#include - // standard -#include +#include #include #include +#include #include -#include - // Boost #include