1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

Another fix for the no-toolkit build

This should be better in the long run.
* oldXMenu/Activate.c (XMenuActivate): Revert previous change,
eliminating the goto it introduced.
* oldXMenu/XMenuInt.h: Include <attribute.h>, for FALLTHROUGH.
This commit is contained in:
Paul Eggert 2022-03-14 13:14:23 -07:00
parent 0d0703e9c4
commit 5c13c33e0c
2 changed files with 4 additions and 5 deletions

View file

@ -37,6 +37,8 @@ without express or implied warranty.
#include <config.h>
#include <attribute.h>
/* Avoid warnings about redefining NULL by including <stdio.h> first;
the other file which wants to define it (<stddef.h> on Ultrix
systems) can deal if NULL is already defined, but <stdio.h> can't. */