summaryrefslogtreecommitdiffstats
path: root/desktop/unx
diff options
context:
space:
mode:
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>