diff --git a/wrap/gui/trackball.cpp b/wrap/gui/trackball.cpp index 1dd6ec2c..aba34cff 100644 --- a/wrap/gui/trackball.cpp +++ b/wrap/gui/trackball.cpp @@ -21,7 +21,12 @@ * * ****************************************************************************/ +#ifdef QT_OPENGL_LIB +#include +#else #include +#endif + #include "trackball.h" #include diff --git a/wrap/gui/trackmode.cpp b/wrap/gui/trackmode.cpp index f8157f62..7365c764 100644 --- a/wrap/gui/trackmode.cpp +++ b/wrap/gui/trackmode.cpp @@ -21,7 +21,12 @@ * * ****************************************************************************/ +#ifdef QT_OPENGL_LIB +#include +#else #include +#endif + #include #include #include