0022752: Fix compilation on Unix with FreeImage and GL2PS support
authordbv <dbv@opencascade.com>
Fri, 23 Mar 2012 11:11:14 +0000 (15:11 +0400)
committerdbv <dbv@opencascade.com>
Tue, 27 Mar 2012 12:56:30 +0000 (16:56 +0400)
Added missed includes config.h

src/Image/Image_PixMap.cxx
src/OpenGl/OpenGl_Display_1.cxx
src/OpenGl/OpenGl_Display_2.cxx
src/OpenGl/OpenGl_GraphicDriver_Export.cxx
src/OpenGl/OpenGl_Workspace_2.cxx
src/OpenGl/OpenGl_Workspace_3.cxx
src/OpenGl/OpenGl_Workspace_5.cxx

index c211b73..a0927fd 100644 (file)
@@ -17,6 +17,9 @@
 // purpose or non-infringement. Please see the License for the specific terms
 // and conditions governing the rights and limitations under the License.
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 #ifdef HAVE_FREEIMAGE
   #include <FreeImagePlus.h>
index 208fe4d..52e2bee 100644 (file)
 #include <OpenGl_PrinterContext.hxx>
 #include <OpenGl_AspectText.hxx>
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #ifdef HAVE_GL2PS
 #include <gl2ps.h>
 #endif
index 40ca648..4bc0f37 100644 (file)
 
 #include <OpenGl_Display.hxx>
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #ifdef HAVE_GL2PS
   #include <gl2ps.h>
 #endif
index b62dc9a..fbcfa98 100755 (executable)
 #include <OpenGl_GraphicDriver.hxx>
 #include <OSD_Localizer.hxx>
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #ifdef HAVE_GL2PS
 #include <gl2ps.h>
 #endif
index cf786a5..c3ec00f 100644 (file)
 #include <TColStd_Array2OfReal.hxx>
 #include <OpenGl_telem_util.hxx>
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #ifdef HAVE_FREEIMAGE
   #include <NCollection_Handle.hxx>
   #include <FreeImagePlus.h>
index 74d2827..be9007e 100644 (file)
 #include <OpenGl_AspectLine.hxx>
 #include <OpenGl_Structure.hxx>
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #ifdef HAVE_GL2PS
   #include <gl2ps.h>
 #endif
index 33ab16b..eb42adc 100644 (file)
 #include <OpenGl_AspectMarker.hxx>
 #include <OpenGl_AspectText.hxx>
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 /* OCC22218 NOTE: project dependency on gl2ps is specified by macro */
 #ifdef HAVE_GL2PS
   #include <gl2ps.h>