Fix headless build on Linux

Conditional-compile some OpenGL-ness that crept in

Change-Id: I8d12f34db3b4875470a0d81e9ef6a1654153b206
Reviewed-on: https://gerrit.libreoffice.org/63676
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
This commit is contained in:
Thorsten Behrens 2018-11-20 20:53:50 +01:00
parent 29693c9c12
commit 2bf8469cbc
2 changed files with 6 additions and 2 deletions

View file

@ -28,7 +28,9 @@
#include <sal/log.hxx>
#include <vcl/inputtypes.hxx>
#include <vcl/opengl/OpenGLContext.hxx>
#ifndef LIBO_HEADLESS
# include <vcl/opengl/OpenGLContext.hxx>
#endif
#include <headless/svpinst.hxx>
#include <headless/svpframe.hxx>

View file

@ -35,7 +35,9 @@
#include <vcl/sysdata.hxx>
#include <vcl/unohelp.hxx>
#include <vcl/controllayout.hxx>
#include <vcl/opengl/OpenGLHelper.hxx>
#ifdef MACOSX
# include <vcl/opengl/OpenGLHelper.hxx>
#endif
#include <outdata.hxx>
#include <outdev.h>