summaryrefslogtreecommitdiffstats
path: root/desktop/unx
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2018-02-22 23:52:54 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-02-23 08:41:11 +0100
commitce43b10ccac41d352bcbf3a40e36360c3d0483c2 (patch)
treee2ebe62e3b98ad5d066ac86392fb530da4acdd83 /desktop/unx
parenttdf#115938: Properly detect shadow size control's changed state (diff)
downloadcore-ce43b10ccac41d352bcbf3a40e36360c3d0483c2.tar.gz
core-ce43b10ccac41d352bcbf3a40e36360c3d0483c2.zip
get headless build to work again for Linux
This makes --disable-gui option build successfully again - which means we again run on a headless server w/o any X11 or OpenGL libs. Change-Id: I60019af571aecdac277adbe6d34d5fff065014f9 Reviewed-on: https://gerrit.libreoffice.org/50214 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'desktop/unx')
-rw-r--r--desktop/unx/source/splashx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c
index 8a1064e3673c..e6bc534726ab 100644
--- a/desktop/unx/source/splashx.c
+++ b/desktop/unx/source/splashx.c
@@ -9,7 +9,7 @@
#include "splashx.h"
-#ifdef ENABLE_QUICKSTART_LIBPNG
+#if defined(ENABLE_QUICKSTART_LIBPNG) && !defined(LIBO_HEADLESS)
#include <X11/Xlib.h>
#include <X11/Xatom.h>