diff --git a/src/keyboard.c b/src/keyboard.c index d2e77fd8888..420b422c518 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -6074,7 +6074,7 @@ make_lispy_event (event) } } -#ifdef HAVE_MOUSE +#if defined(HAVE_MOUSE) || defined(HAVE_GPM) static Lisp_Object make_lispy_movement (frame, bar_window, part, x, y, time) @@ -6113,7 +6113,7 @@ make_lispy_movement (frame, bar_window, part, x, y, time) } } -#endif /* HAVE_MOUSE */ +#endif /* HAVE_MOUSE || HAVE GPM */ /* Construct a switch frame event. */ static Lisp_Object