diff --git a/src/xmenu.c b/src/xmenu.c index 4882f8d0d6f..397e8a59e81 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -1397,6 +1397,9 @@ If FRAME is nil or not given, use the selected frame. */) GtkWidget *menubar; FRAME_PTR f; + /* gcc 2.95 doesn't accept the FRAME_PTR declaration after + BLOCK_INPUT. */ + BLOCK_INPUT; f = check_x_frame (frame);