From be0376665a80d0d8f4777bed34c2a39d11fc38ab Mon Sep 17 00:00:00 2001 From: gregory guy Date: Fri, 24 Apr 2020 12:18:37 +0200 Subject: Allow tqtinterface to build without OpenGL support. This should close bug 2645. Some cosmetics here and there. Adapted for r14.0.x branch. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gregory guy Signed-off-by: Slávek Banko (cherry picked from commit db81506ab39530bfee455d14054040b4f43cd945) --- qtinterface/interface_qt3/tqgl.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'qtinterface/interface_qt3/tqgl.cpp') diff --git a/qtinterface/interface_qt3/tqgl.cpp b/qtinterface/interface_qt3/tqgl.cpp index 66f69cc..e165f5c 100644 --- a/qtinterface/interface_qt3/tqgl.cpp +++ b/qtinterface/interface_qt3/tqgl.cpp @@ -18,6 +18,12 @@ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include + +#ifdef HAVE_OPENGL #include +#endif -- cgit v1.2.3