summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2018-11-20 20:53:50 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-11-21 01:07:43 +0100
commit2bf8469cbca01e53043097708909f6cdf2aae264 (patch)
tree3b8c16b589f200439b5ecf3470f4660043d39e0e /vcl/headless
parent29693c9c12c947e04f37adfd56290ae3abd18490 (diff)
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>
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpinst.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx
index 5f7176e748d1..330b69ab27dd 100644
--- a/vcl/headless/svpinst.cxx
+++ b/vcl/headless/svpinst.cxx
@@ -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>