mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 01:37:34 -08:00
Bug: https://bugs.gentoo.org/963229 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
25 lines
623 B
Diff
25 lines
623 B
Diff
https://github.com/fcitx/fcitx5/pull/1259
|
|
|
|
The header may be not available when X11 is disabled. Fixes fcitx5
|
|
build without X11 libraries.
|
|
|
|
Signed-off-by: Yao Zi <ziyao@disroot.org>
|
|
--- a/src/ui/classic/classicui.cpp
|
|
+++ b/src/ui/classic/classicui.cpp
|
|
@@ -20,7 +20,6 @@
|
|
#include <utility>
|
|
#include <vector>
|
|
#include <cairo.h>
|
|
-#include <xcb/xcb.h>
|
|
#include "fcitx-config/iniparser.h"
|
|
#include "fcitx-config/rawconfig.h"
|
|
#include "fcitx-utils/color.h"
|
|
@@ -45,6 +44,7 @@
|
|
#include "plasmathemewatchdog.h"
|
|
#include "theme.h"
|
|
#ifdef ENABLE_X11
|
|
+#include <xcb/xcb.h>
|
|
#include "xcb_public.h"
|
|
#include "xcbui.h"
|
|
#endif
|