diff --git a/src/Mod/Import/App/ExportOCAF.h b/src/Mod/Import/App/ExportOCAF.h index 767c746947..9491316d72 100644 --- a/src/Mod/Import/App/ExportOCAF.h +++ b/src/Mod/Import/App/ExportOCAF.h @@ -37,6 +37,7 @@ #include #include #include +#include class TDF_Label; diff --git a/src/Mod/Import/App/ImportOCAF.h b/src/Mod/Import/App/ImportOCAF.h index 4f30d921a9..0ae795cc31 100644 --- a/src/Mod/Import/App/ImportOCAF.h +++ b/src/Mod/Import/App/ImportOCAF.h @@ -39,7 +39,7 @@ #include #include #include - +#include class TDF_Label; class TopLoc_Location; diff --git a/src/Mod/Import/App/PreCompiled.h b/src/Mod/Import/App/PreCompiled.h index 90d504886f..22bb5c0235 100644 --- a/src/Mod/Import/App/PreCompiled.h +++ b/src/Mod/Import/App/PreCompiled.h @@ -26,17 +26,6 @@ #include -// Importing of App classes -#ifdef FC_OS_WIN32 -# define ImportExport __declspec(dllexport) -# define PartExport __declspec(dllimport) -# define AppPartExport __declspec(dllimport) -#else // for Linux -# define ImportExport -# define PartExport -# define AppPartExport -#endif - /// here get the warnings of to long specifieres disabled (needet for VC6) #ifdef _MSC_VER diff --git a/src/Mod/Import/App/StepShape.h b/src/Mod/Import/App/StepShape.h index 703aec6755..637907a834 100644 --- a/src/Mod/Import/App/StepShape.h +++ b/src/Mod/Import/App/StepShape.h @@ -24,7 +24,7 @@ #ifndef IMPORT_STEPSHAPE_H #define IMPORT_STEPSHAPE_H - +#include namespace Import { diff --git a/src/Mod/Import/App/dxf.h b/src/Mod/Import/App/dxf.h index 44da25c0f5..174ac14e56 100644 --- a/src/Mod/Import/App/dxf.h +++ b/src/Mod/Import/App/dxf.h @@ -20,6 +20,7 @@ #include #include +#include //Following is required to be defined on Ubuntu with OCC 6.3.1 #ifndef HAVE_IOSTREAM diff --git a/src/Mod/Import/Gui/PreCompiled.h b/src/Mod/Import/Gui/PreCompiled.h index 595e914fef..50728107ef 100644 --- a/src/Mod/Import/Gui/PreCompiled.h +++ b/src/Mod/Import/Gui/PreCompiled.h @@ -26,19 +26,6 @@ #include -// Importing of App classes -#ifdef FC_OS_WIN32 -# define ImportGuiExport __declspec(dllexport) -# define ImportExport __declspec(dllimport) -# define PartExport __declspec(dllimport) -# define PartGuiExport __declspec(dllimport) -#else // for Linux -# define ImportGuiExport -# define ImportExport -# define PartExport -# define PartGuiExport -#endif - // here get the warnings of too long specifiers disabled (needed for VC6) #ifdef _MSC_VER