From ce43b10ccac41d352bcbf3a40e36360c3d0483c2 Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Thu, 22 Feb 2018 23:52:54 +0100 Subject: 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 Tested-by: Thorsten Behrens --- desktop/unx/source/splashx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop/unx') 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 #include -- cgit