mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0022752: Fix compilation on Unix with FreeImage and GL2PS support
Added missed includes config.h
This commit is contained in:
parent
7c8a8fcc07
commit
498ce5771b
@ -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>
|
||||
|
@ -28,6 +28,10 @@
|
||||
#include <OpenGl_PrinterContext.hxx>
|
||||
#include <OpenGl_AspectText.hxx>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_GL2PS
|
||||
#include <gl2ps.h>
|
||||
#endif
|
||||
|
@ -22,6 +22,10 @@
|
||||
|
||||
#include <OpenGl_Display.hxx>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_GL2PS
|
||||
#include <gl2ps.h>
|
||||
#endif
|
||||
|
@ -22,6 +22,10 @@
|
||||
#include <OpenGl_GraphicDriver.hxx>
|
||||
#include <OSD_Localizer.hxx>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_GL2PS
|
||||
#include <gl2ps.h>
|
||||
#endif
|
||||
|
@ -24,6 +24,10 @@
|
||||
#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>
|
||||
|
@ -27,6 +27,10 @@
|
||||
#include <OpenGl_AspectLine.hxx>
|
||||
#include <OpenGl_Structure.hxx>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_GL2PS
|
||||
#include <gl2ps.h>
|
||||
#endif
|
||||
|
@ -27,6 +27,10 @@
|
||||
#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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user