From 3a1509b0b43b712ce7c05a1f6b9980cc3b70ffac Mon Sep 17 00:00:00 2001 From: Yar Date: Thu, 14 Jul 2022 10:03:30 +0200 Subject: [PATCH] Drop unconditional Xlib dependency It was introduced 4eb2f5880956c8259d0b5e2084baf61a27ee82ad, to support XInitThreads, but XInitThreads was dropped later. Nothing else in this file needs this header, but it fails to compile on X11-less systems --- src/main.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main.c b/src/main.c index 863e39a0..e4a26272 100644 --- a/src/main.c +++ b/src/main.c @@ -66,11 +66,6 @@ #include #endif -#ifdef HAVE_GTHREAD -/** @FIXME see below */ -#include -#endif - gboolean thumb_format_changed = FALSE; static RemoteConnection *remote_connection = NULL; -- 2.20.1