1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-26 10:19:45 +03:00

0022752: Fix compilation on Unix with FreeImage and GL2PS support

Added missed includes config.h
This commit is contained in:
dbv 2012-03-23 15:11:14 +04:00
parent 7c8a8fcc07
commit 498ce5771b
7 changed files with 27 additions and 0 deletions

View File

@ -17,6 +17,9 @@
// purpose or non-infringement. Please see the License for the specific terms // purpose or non-infringement. Please see the License for the specific terms
// and conditions governing the rights and limitations under the License. // and conditions governing the rights and limitations under the License.
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#ifdef HAVE_FREEIMAGE #ifdef HAVE_FREEIMAGE
#include <FreeImagePlus.h> #include <FreeImagePlus.h>

View File

@ -28,6 +28,10 @@
#include <OpenGl_PrinterContext.hxx> #include <OpenGl_PrinterContext.hxx>
#include <OpenGl_AspectText.hxx> #include <OpenGl_AspectText.hxx>
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#ifdef HAVE_GL2PS #ifdef HAVE_GL2PS
#include <gl2ps.h> #include <gl2ps.h>
#endif #endif

View File

@ -22,6 +22,10 @@
#include <OpenGl_Display.hxx> #include <OpenGl_Display.hxx>
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#ifdef HAVE_GL2PS #ifdef HAVE_GL2PS
#include <gl2ps.h> #include <gl2ps.h>
#endif #endif

View File

@ -22,6 +22,10 @@
#include <OpenGl_GraphicDriver.hxx> #include <OpenGl_GraphicDriver.hxx>
#include <OSD_Localizer.hxx> #include <OSD_Localizer.hxx>
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#ifdef HAVE_GL2PS #ifdef HAVE_GL2PS
#include <gl2ps.h> #include <gl2ps.h>
#endif #endif

View File

@ -24,6 +24,10 @@
#include <TColStd_Array2OfReal.hxx> #include <TColStd_Array2OfReal.hxx>
#include <OpenGl_telem_util.hxx> #include <OpenGl_telem_util.hxx>
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#ifdef HAVE_FREEIMAGE #ifdef HAVE_FREEIMAGE
#include <NCollection_Handle.hxx> #include <NCollection_Handle.hxx>
#include <FreeImagePlus.h> #include <FreeImagePlus.h>

View File

@ -27,6 +27,10 @@
#include <OpenGl_AspectLine.hxx> #include <OpenGl_AspectLine.hxx>
#include <OpenGl_Structure.hxx> #include <OpenGl_Structure.hxx>
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#ifdef HAVE_GL2PS #ifdef HAVE_GL2PS
#include <gl2ps.h> #include <gl2ps.h>
#endif #endif

View File

@ -27,6 +27,10 @@
#include <OpenGl_AspectMarker.hxx> #include <OpenGl_AspectMarker.hxx>
#include <OpenGl_AspectText.hxx> #include <OpenGl_AspectText.hxx>
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
/* OCC22218 NOTE: project dependency on gl2ps is specified by macro */ /* OCC22218 NOTE: project dependency on gl2ps is specified by macro */
#ifdef HAVE_GL2PS #ifdef HAVE_GL2PS
#include <gl2ps.h> #include <gl2ps.h>