From: Po Lu Date: Wed, 1 Jun 2022 00:57:52 +0000 (+0800) Subject: Fix the GTK build X-Git-Tag: emacs-29.0.90~1910^2~300 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3b9bbb24ebcb23e9686bd0f3d70b6e65a83e80ab;p=emacs.git Fix the GTK build * src/xterm.c (x_wait_for_cell_change): Don't initialize rfds on GTK. --- 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