From 207afe90c255f68bb20f6f4f76c70299db61596e Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Sun, 27 Oct 2024 13:13:06 +1000 Subject: [PATCH] un-gate `Xtrans.h` The X Network Transport layer has been shipped with X11 for some time now. We no longer need to support configurations without this feature. Reported-by: Jaimos Skriletz Signed-off-by: Matt Jolly --- dev-docs/INSTALL.md | 1 + libs/fsm.c | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dev-docs/INSTALL.md b/dev-docs/INSTALL.md index a11ed1956..165f19203 100644 --- a/dev-docs/INSTALL.md +++ b/dev-docs/INSTALL.md @@ -32,6 +32,7 @@ system in use. * libxrandr-dev (>= 1.5) * libxrender-dev * libxt-dev +* xtrans-dev ## Optional dependencies diff --git a/libs/fsm.c b/libs/fsm.c index cfac128bd..20186af76 100644 --- a/libs/fsm.c +++ b/libs/fsm.c @@ -33,11 +33,8 @@ #include #include #include -#if defined(HAVE_X11_XTRANS_XTRANS_H) && defined(HAVE__ICETRANSNOLISTEN) #include -#elif defined(HAVE__ICETRANSNOLISTEN) -extern void _IceTransNoListen(char *protocol); -#endif + #include "fvwmlib.h" #include "log.h"