]> OCCT Git - occt-copy.git/commitdiff
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 c211b7321636a15f98c2b69c581e30d8d5109820..a0927fd422d05bc1875341dfa8ca4320f10b7e14 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 208fe4df59062c939a957438c38e4a7c17effcaa..52e2bee420853f98f8de429ba79e6ad84f7d3c47 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 40ca648bb55ef8cf21cb865521d2b733da60231d..4bc0f370fb5b2c48f6c0f806d85dcb737133c38f 100644 (file)
 
 #include <OpenGl_Display.hxx>
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #ifdef HAVE_GL2PS
   #include <gl2ps.h>
 #endif
index b62dc9ab481de4895a870ab7435f9fde17d1a156..fbcfa9887ac007367094a591b42361357bd6afde 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 cf786a549446311f8f62ae8cb3223bc0b90b1574..c3ec00fdb953948a4484bd4b43925f7cf316c62c 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 74d2827f3ee55629dd11a740858b0e25f12aa123..be9007e87d503e5acb13f76fa14b79c3286f3f4a 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 33ab16b82c16e5a98e1f627d112c734ba446de64..eb42adccca042816d6da2ae69de95056f84abf38 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>