Fix build with toolkit scroll bars without XI2

* src/xterm.c (mark_xterm): Fix up ifdefs slightly.
This commit is contained in:
Po Lu 2022-04-16 17:13:21 +08:00
parent 760107639b
commit 625d6da5ba

View file

@ -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