From: Po Lu Date: Sat, 16 Apr 2022 09:13:21 +0000 (+0800) Subject: Fix build with toolkit scroll bars without XI2 X-Git-Tag: emacs-29.0.90~1931^2~534 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=625d6da5bad8c5e33d8c3214853d0bc35695f76d;p=emacs.git Fix build with toolkit scroll bars without XI2 * src/xterm.c (mark_xterm): Fix up ifdefs slightly. --- diff --git a/src/xterm.c b/src/xterm.c index ae3f2d75179..dc33ba75569 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -23847,7 +23847,7 @@ void mark_xterm (void) { Lisp_Object val; -#ifdef HAVE_XINPUT2 +#if defined HAVE_XINPUT2 || defined USE_TOOLKIT_SCROLL_BARS struct x_display_info *dpyinfo; int i; #endif