From 3b9bbb24ebcb23e9686bd0f3d70b6e65a83e80ab Mon Sep 17 00:00:00 2001 From: Po Lu Date: Wed, 1 Jun 2022 08:57:52 +0800 Subject: [PATCH] Fix the GTK build * src/xterm.c (x_wait_for_cell_change): Don't initialize rfds on GTK. --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index 186014b0b43..f062e6485d6 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -14857,9 +14857,9 @@ x_wait_for_cell_change (Lisp_Object cell, struct timespec timeout) struct timespec current, at; at = timespec_add (current_timespec (), timeout); - FD_ZERO (&rfds); #ifndef USE_GTK + FD_ZERO (&rfds); rc = 0; #endif -- 2.39.2