summaryrefslogtreecommitdiffstats
path: root/desktop/unx
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2019-09-18 11:48:13 +0200
committerAndras Timar <andras.timar@collabora.com>2019-09-20 23:53:28 +0200
commit693ba5704b0a26319b3b780f8553eb3e99bad7a1 (patch)
tree65a2ef3e659aa993098dfb92cd7fbe7833c57020 /desktop/unx
parentUse CPPUNIT_ASSERT_GREATER(e,a) instead of CPPUNIT_ASSERT(e<a) (diff)
downloadcore-693ba5704b0a26319b3b780f8553eb3e99bad7a1.tar.gz
core-693ba5704b0a26319b3b780f8553eb3e99bad7a1.zip
Replace remaining occurrences of LIBO_HEADLESS with HAVE_FEATURE_UI
Change-Id: Ie2b04ee443dece851d3d96afbc932aa64369c75c Reviewed-on: https://gerrit.libreoffice.org/79084 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'desktop/unx')
-rw-r--r--desktop/unx/source/splashx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c
index 9136876aa9df..d759ed3a4816 100644
--- a/desktop/unx/source/splashx.c
+++ b/desktop/unx/source/splashx.c
@@ -7,9 +7,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#include <config_features.h>
#include "splashx.h"
-#if defined(ENABLE_QUICKSTART_LIBPNG) && !defined(LIBO_HEADLESS)
+#if defined(ENABLE_QUICKSTART_LIBPNG) && HAVE_FEATURE_UI
#include <X11/Xlib.h>
#include <X11/Xatom.h>